Return the insets to be equal on all sides

This commit is contained in:
John Scipione 2013-05-30 22:07:43 -04:00
parent fc77b031d7
commit e473d011dd
2 changed files with 3 additions and 3 deletions

View File

@ -122,7 +122,8 @@ FontSelectionView::FontSelectionView(const char* name,
fPreviewBox = new BBox("preview box", B_WILL_DRAW | B_FRAME_EVENTS);
fPreviewBox->AddChild(BGroupLayoutBuilder(B_HORIZONTAL)
.Add(fPreviewText)
.SetInsets(B_USE_SMALL_SPACING, 0, B_USE_SMALL_SPACING, B_USE_SMALL_SPACING)
.SetInsets(B_USE_SMALL_SPACING, B_USE_SMALL_SPACING,
B_USE_SMALL_SPACING, B_USE_SMALL_SPACING)
.TopView()
);
}

View File

@ -234,8 +234,7 @@ BackgroundsView::BackgroundsView()
.Add(fRevert)
.Add(fApply)
.End()
.SetInsets(B_USE_DEFAULT_SPACING, 0, B_USE_DEFAULT_SPACING,
B_USE_DEFAULT_SPACING)
.SetInsets(B_USE_DEFAULT_SPACING)
.End()
.View();