diff options
-rw-r--r-- | src/ui/labelwidget.c | 3 | ||||
-rw-r--r-- | src/ui/sidebarwidget.c | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index 46bdc890..f6ddfd43 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -421,7 +421,8 @@ static void draw_LabelWidget_(const iLabelWidget *d) { | |||
421 | else { | 421 | else { |
422 | drawCenteredOutline_Text( | 422 | drawCenteredOutline_Text( |
423 | d->font, | 423 | d->font, |
424 | adjusted_Rect(bounds, init_I2(iconPad * 1.5f, 0), init_I2(-iconPad, 0)), | 424 | adjusted_Rect(bounds, init_I2(iconPad * (flags & tight_WidgetFlag ? 1.0f : 1.5f), 0), |
425 | init_I2(-iconPad * (flags & tight_WidgetFlag ? 0.5f : 1.0f), 0)), | ||
425 | d->flags.alignVisual, | 426 | d->flags.alignVisual, |
426 | d->flags.drawAsOutline ? fg : none_ColorId, | 427 | d->flags.drawAsOutline ? fg : none_ColorId, |
427 | d->flags.drawAsOutline ? d->widget.bgColor : fg, | 428 | d->flags.drawAsOutline ? d->widget.bgColor : fg, |
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 69e4fb01..550fccde 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -350,10 +350,11 @@ static void updateItems_SidebarWidget_(iSidebarWidget *d) { | |||
350 | } | 350 | } |
351 | /* Actions. */ { | 351 | /* Actions. */ { |
352 | addActionButton_SidebarWidget_( | 352 | addActionButton_SidebarWidget_( |
353 | d, check_Icon " ${feeds.markallread}", "feeds.markallread", expand_WidgetFlag); | 353 | d, check_Icon " ${feeds.markallread}", "feeds.markallread", expand_WidgetFlag | |
354 | addChildFlags_Widget(d->actions, | 354 | tight_WidgetFlag); |
355 | updateSize_LabelWidget(addChildFlags_Widget(d->actions, | ||
355 | iClob(new_LabelWidget("${sidebar.action.show}", NULL)), | 356 | iClob(new_LabelWidget("${sidebar.action.show}", NULL)), |
356 | frameless_WidgetFlag); | 357 | frameless_WidgetFlag | tight_WidgetFlag)); |
357 | const iMenuItem items[] = { | 358 | const iMenuItem items[] = { |
358 | { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, | 359 | { "${sidebar.action.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, |
359 | { "${sidebar.action.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, | 360 | { "${sidebar.action.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, |