Backgrounds: Update spacing around preview.

So that there isn't extra space at the bottom, only between the monitor
and the X and Y text controls, and the insets.
This commit is contained in:
John Scipione
2013-06-07 15:36:57 -04:00
parent 6e6c121b84
commit d0ddd796b2
@@ -105,7 +105,7 @@ BackgroundsView::BackgroundsView()
previewBox->AddChild(BLayoutBuilder::Group<>() previewBox->AddChild(BLayoutBuilder::Group<>()
.AddGlue() .AddGlue()
.AddGroup(B_VERTICAL, be_control_look->DefaultItemSpacing() * 2) .AddGroup(B_VERTICAL, 0)
.AddGroup(B_HORIZONTAL, 0) .AddGroup(B_HORIZONTAL, 0)
.AddGlue() .AddGlue()
.AddGrid(0, 0, 1) .AddGrid(0, 0, 1)
@@ -121,7 +121,8 @@ BackgroundsView::BackgroundsView()
.End() .End()
.AddGlue() .AddGlue()
.End() .End()
.AddGroup(B_HORIZONTAL, B_USE_DEFAULT_SPACING) .AddStrut(be_control_look->DefaultItemSpacing() * 2)
.AddGroup(B_HORIZONTAL)
.Add(fXPlacementText) .Add(fXPlacementText)
.Add(fYPlacementText) .Add(fYPlacementText)
.End() .End()