diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-24 19:30:14 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-24 19:30:21 +0200 |
commit | ecb69789e3fb5e3a55e898b4ce9829d414be59ca (patch) | |
tree | 2b424a2498edbe6e4895fbed2bd116f22f85658c /src/ui/labelwidget.c | |
parent | 0bfa17f463a8ef8b7ea5e3fc97a474bf60ce19da (diff) |
SidebarWidget: Tighter layout for Feeds actions
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r-- | src/ui/labelwidget.c | 3 |
1 files changed, 2 insertions, 1 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, |