On second thought, AddGlue to all 3 so the window stays the same height
This commit is contained in:
parent
9fd9f94dcc
commit
37fb25e0f8
@ -218,6 +218,7 @@ PreferencesWindow::PreferencesWindow(BRect frame)
|
||||
.Add(new BButton(B_TRANSLATE("Edit menu" B_UTF8_ELLIPSIS),
|
||||
new BMessage(kEditMenuInTracker)))
|
||||
.End()
|
||||
.AddGlue()
|
||||
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
|
||||
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
||||
.End()
|
||||
@ -237,6 +238,7 @@ PreferencesWindow::PreferencesWindow(BRect frame)
|
||||
.SetInsets(0, B_USE_DEFAULT_SPACING, 0, 0)
|
||||
.Add(fAppsIconSizeSlider)
|
||||
.End()
|
||||
.AddGlue()
|
||||
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
|
||||
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
||||
.End()
|
||||
@ -247,6 +249,7 @@ PreferencesWindow::PreferencesWindow(BRect frame)
|
||||
.Add(fWindowAlwaysOnTop)
|
||||
.Add(fWindowAutoRaise)
|
||||
.Add(fWindowAutoHide)
|
||||
.AddGlue()
|
||||
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
|
||||
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
|
||||
.End()
|
||||
|
Loading…
Reference in New Issue
Block a user