Use horizontal strut instead of insets

This commit is contained in:
John Scipione 2013-03-11 19:53:16 -04:00
parent a3f512d524
commit f49eecb564

View File

@ -177,13 +177,12 @@ PreferencesWindow::PreferencesWindow(BRect frame)
.Add(fAppsSortTrackerFirst)
.Add(fAppsShowExpanders)
.AddGroup(B_HORIZONTAL, 0)
.SetInsets(kIndentSpacing, 0, 0, 0)
.Add(BSpaceLayoutItem::CreateHorizontalStrut(kIndentSpacing))
.Add(fAppsExpandNew)
.End()
.Add(fAppsHideLabels)
.AddGlue()
.Add(BSpaceLayoutItem::CreateVerticalStrut(
B_USE_SMALL_SPACING))
.Add(BSpaceLayoutItem::CreateVerticalStrut(B_USE_SMALL_SPACING))
.Add(fAppsIconSizeSlider)
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)