summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-09 08:25:00 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-09 08:25:00 +0200
commit1dc86d6ee3f083f1b2b842d9621ae99dc49d87e7 (patch)
treedcdbcd5100cd72864acf45c480d449427226fea7 /src/ui
parent8f9e7eb9d9273d6c39fd2d6fa1f5dd3076840770 (diff)
LabelWidget: Fine-tuning icon spacing
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/labelwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c
index 9321d7bf..b628ac23 100644
--- a/src/ui/labelwidget.c
+++ b/src/ui/labelwidget.c
@@ -249,7 +249,7 @@ static void draw_LabelWidget_(const iLabelWidget *d) {
249 d->font, 249 d->font,
250 (iRect){ 250 (iRect){
251 add_I2(add_I2(bounds.pos, padding_(flags)), 251 add_I2(add_I2(bounds.pos, padding_(flags)),
252 init_I2((flags & extraPadding_WidgetFlag ? -2 : -1) * gap_UI, -gap_UI / 8)), 252 init_I2((flags & extraPadding_WidgetFlag ? -2 : -1.20f) * gap_UI, -gap_UI / 8)),
253 init_I2(iconPad, lineHeight_Text(d->font)) }, 253 init_I2(iconPad, lineHeight_Text(d->font)) },
254 iTrue, 254 iTrue,
255 isCaution ? uiTextCaution_ColorId 255 isCaution ? uiTextCaution_ColorId