StyledEdit: Do not do font->Size() / 12 but rather downscale directly.
This commit is contained in:
parent
e038086025
commit
34ab706011
@ -63,7 +63,7 @@ void
|
||||
StatusView::AttachedToWindow()
|
||||
{
|
||||
SetFont(be_plain_font);
|
||||
SetFontSize(10. * be_plain_font->Size() / 12.f);
|
||||
SetFontSize(ceilf(be_plain_font->Size() * 0.83f));
|
||||
|
||||
BMessage message(UPDATE_STATUS);
|
||||
message.AddInt32("line", 1);
|
||||
|
Loading…
Reference in New Issue
Block a user