BControlLook: Fix corner spacing calculation.
Fixes #18046. Ideally app_server would just use this to pick the size of corners... Change-Id: I2dc243d55321b3fc0fa90faf415d9b04abf9c376 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5780 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
233c0ffd47
commit
c1353b749c
@@ -38,7 +38,7 @@ BControlLook::ComposeSpacing(float spacing)
|
||||
case B_USE_SMALL_SPACING:
|
||||
return ceilf(be_control_look->DefaultItemSpacing() * 0.7f);
|
||||
case B_USE_CORNER_SPACING:
|
||||
return ceilf(be_control_look->DefaultItemSpacing() * 1.273f);
|
||||
return ceilf(be_control_look->DefaultItemSpacing() * 1.272f);
|
||||
case B_USE_BIG_SPACING:
|
||||
return ceilf(be_control_look->DefaultItemSpacing() * 1.8f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user