Return the insets to be equal on all sides
This commit is contained in:
parent
fc77b031d7
commit
e473d011dd
@ -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()
|
||||
);
|
||||
}
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user