Skip to content

Commit

Permalink
On second thought, AddGlue to all 3 so the window stays the same height
Browse files Browse the repository at this point in the history
  • Loading branch information
jscipione committed Dec 20, 2012
1 parent 9fd9f94 commit 37fb25e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apps/deskbar/PreferencesWindow.cpp
Expand Up @@ -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()
Expand All @@ -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()
Expand All @@ -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()
Expand Down

0 comments on commit 37fb25e

Please sign in to comment.