Small coding style fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36216 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -474,9 +474,9 @@ BStatusBar::SetBarHeight(float barHeight)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
// resize so that the height fits
|
// resize so that the height fits
|
||||||
if ((Flags() & B_SUPPORTS_LAYOUT) != 0) {
|
if ((Flags() & B_SUPPORTS_LAYOUT) != 0)
|
||||||
InvalidateLayout();
|
InvalidateLayout();
|
||||||
} else {
|
else {
|
||||||
float width, height;
|
float width, height;
|
||||||
GetPreferredSize(&width, &height);
|
GetPreferredSize(&width, &height);
|
||||||
ResizeTo(Bounds().Width(), height);
|
ResizeTo(Bounds().Width(), height);
|
||||||
|
|||||||
Reference in New Issue
Block a user