diff options
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 54812aec..17640aaa 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -1282,10 +1282,10 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1282 | uiSeparator_ColorId); | 1282 | uiSeparator_ColorId); |
1283 | } | 1283 | } |
1284 | drawRange_Text( | 1284 | drawRange_Text( |
1285 | uiLabelLarge_FontId, | 1285 | uiLabelLargeBold_FontId, |
1286 | add_I2(pos, | 1286 | add_I2(pos, |
1287 | init_I2(3 * gap_UI, | 1287 | init_I2(3 * gap_UI, |
1288 | itemHeight - lineHeight_Text(uiLabelLarge_FontId) - 1 * gap_UI)), | 1288 | itemHeight - lineHeight_Text(uiLabelLargeBold_FontId) - 1 * gap_UI)), |
1289 | uiIcon_ColorId, | 1289 | uiIcon_ColorId, |
1290 | range_String(&d->meta)); | 1290 | range_String(&d->meta)); |
1291 | } | 1291 | } |
@@ -1356,7 +1356,7 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1356 | iString str; | 1356 | iString str; |
1357 | init_String(&str); | 1357 | init_String(&str); |
1358 | appendChar_String(&str, d->icon ? d->icon : 0x1f588); | 1358 | appendChar_String(&str, d->icon ? d->icon : 0x1f588); |
1359 | const iRect iconArea = { addX_I2(pos, gap_UI), init_I2(7 * gap_UI, itemHeight) }; | 1359 | const iRect iconArea = { addX_I2(pos, gap_UI), init_I2(1.9f * lineHeight_Text(font), itemHeight) }; |
1360 | drawCentered_Text(font, | 1360 | drawCentered_Text(font, |
1361 | iconArea, | 1361 | iconArea, |
1362 | iTrue, | 1362 | iTrue, |
@@ -1393,9 +1393,9 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1393 | width_Rect(itemRect) - scrollBarWidth, | 1393 | width_Rect(itemRect) - scrollBarWidth, |
1394 | uiSeparator_ColorId); | 1394 | uiSeparator_ColorId); |
1395 | drawRange_Text( | 1395 | drawRange_Text( |
1396 | uiLabelLarge_FontId, | 1396 | uiLabelLargeBold_FontId, |
1397 | add_I2(drawPos, | 1397 | add_I2(drawPos, |
1398 | init_I2(3 * gap_UI, (itemHeight - lineHeight_Text(uiLabelLarge_FontId)) / 2)), | 1398 | init_I2(3 * gap_UI, (itemHeight - lineHeight_Text(uiLabelLargeBold_FontId)) / 2)), |
1399 | uiIcon_ColorId, | 1399 | uiIcon_ColorId, |
1400 | range_String(&d->meta)); | 1400 | range_String(&d->meta)); |
1401 | } | 1401 | } |