Return the insets to be equal on all sides
This commit is contained in:
@@ -122,7 +122,8 @@ FontSelectionView::FontSelectionView(const char* name,
|
|||||||
fPreviewBox = new BBox("preview box", B_WILL_DRAW | B_FRAME_EVENTS);
|
fPreviewBox = new BBox("preview box", B_WILL_DRAW | B_FRAME_EVENTS);
|
||||||
fPreviewBox->AddChild(BGroupLayoutBuilder(B_HORIZONTAL)
|
fPreviewBox->AddChild(BGroupLayoutBuilder(B_HORIZONTAL)
|
||||||
.Add(fPreviewText)
|
.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()
|
.TopView()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -234,8 +234,7 @@ BackgroundsView::BackgroundsView()
|
|||||||
.Add(fRevert)
|
.Add(fRevert)
|
||||||
.Add(fApply)
|
.Add(fApply)
|
||||||
.End()
|
.End()
|
||||||
.SetInsets(B_USE_DEFAULT_SPACING, 0, B_USE_DEFAULT_SPACING,
|
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||||
B_USE_DEFAULT_SPACING)
|
|
||||||
.End()
|
.End()
|
||||||
.View();
|
.View();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user