diff --git a/src/kits/interface/ControlLook.cpp b/src/kits/interface/ControlLook.cpp index d0a732e881..557059efaa 100644 --- a/src/kits/interface/ControlLook.cpp +++ b/src/kits/interface/ControlLook.cpp @@ -75,7 +75,8 @@ float BControlLook::GetScrollBarWidth(orientation orientation) { // this matches HaikuControlLook.cpp currently - if (be_plain_font->Size() <= 12.0f) { return 14.0f; } + if (be_plain_font->Size() <= 12.0f) + return 14.0f; return be_plain_font->Size() / 12.0f * 14.0f; } diff --git a/src/kits/interface/HaikuControlLook.cpp b/src/kits/interface/HaikuControlLook.cpp index 4a4b3a1a45..085c787290 100644 --- a/src/kits/interface/HaikuControlLook.cpp +++ b/src/kits/interface/HaikuControlLook.cpp @@ -3837,7 +3837,8 @@ HaikuControlLook::GetScrollBarWidth(orientation orientation) { // HaikuControlLook does not make a distinction between the // width and height of the scrollbar, but other controllooks may - if (be_plain_font->Size() <= 12.0f) { return 14.0f; } + if (be_plain_font->Size() <= 12.0f) + return 14.0f; return be_plain_font->Size() / 12.0f * 14.0f; }