Fix layout issue in Backgrounds preflet.
Add an extra column to the grid layout so that the menu fields are free to be much bigger than the checkbox. closes #9882
This commit is contained in:
committed by
Rene Gollent
parent
8e80ec6aaa
commit
e66e2a2535
@@ -191,10 +191,12 @@ BackgroundsView::BackgroundsView()
|
||||
rightbox->AddChild(BLayoutBuilder::Group<>(B_VERTICAL, B_USE_DEFAULT_SPACING)
|
||||
.AddGrid(B_USE_DEFAULT_SPACING, B_USE_SMALL_SPACING)
|
||||
.Add(imageMenuField->CreateLabelLayoutItem(), 0, 0)
|
||||
.Add(imageMenuField->CreateMenuBarLayoutItem(), 1, 0)
|
||||
.Add(imageMenuField->CreateMenuBarLayoutItem(), 1, 0, 2, 1)
|
||||
.Add(placementMenuField->CreateLabelLayoutItem(), 0, 1)
|
||||
.Add(placementMenuField->CreateMenuBarLayoutItem(), 1, 1)
|
||||
.Add(placementMenuField->CreateMenuBarLayoutItem(), 1, 1, 2, 1)
|
||||
.Add(fIconLabelOutline, 1, 2)
|
||||
// checkbox only spans one column so that it
|
||||
// doesn't dictate the width of the menu bars.
|
||||
.End()
|
||||
.AddGlue()
|
||||
.Add(fPicker)
|
||||
|
||||
Reference in New Issue
Block a user