Spacing adjustments as suggested by Axel.
This commit is contained in:
@@ -101,7 +101,7 @@ WatchPromptWindow::_Init()
|
||||
BLayoutItem* labelItem = fTypeField->CreateLabelLayoutItem();
|
||||
labelItem->View()->SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||
BLayoutBuilder::Group<>(this, B_VERTICAL)
|
||||
.SetInsets(4.0f, 4.0f, 4.0f, 4.0f)
|
||||
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||
.AddGroup(B_HORIZONTAL, 4.0f)
|
||||
.Add(fAddressInput)
|
||||
.End()
|
||||
|
||||
@@ -73,7 +73,7 @@ StartTeamWindow::_Init()
|
||||
fCancelButton = new BButton("Cancel", new BMessage(B_QUIT_REQUESTED));
|
||||
|
||||
BLayoutBuilder::Group<>(this, B_VERTICAL)
|
||||
.SetInsets(4.0f, 4.0f, 4.0f, 4.0f)
|
||||
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||
.Add(fGuideText)
|
||||
.AddGroup(B_HORIZONTAL, 4.0f)
|
||||
.Add(fTeamTextControl)
|
||||
|
||||
@@ -149,7 +149,8 @@ TeamsWindow::_Init()
|
||||
BLayoutBuilder::Group<>(this, B_VERTICAL)
|
||||
.Add(fTeamsListView = new TeamsListView("TeamsList", fCurrentTeam))
|
||||
.SetInsets(1.0f, 1.0f, 1.0f, 1.0f)
|
||||
.AddGroup(B_HORIZONTAL, 4.0f)
|
||||
.AddGroup(B_HORIZONTAL)
|
||||
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||
.Add(fAttachTeamButton = new BButton("Attach", new BMessage(
|
||||
MSG_DEBUG_THIS_TEAM)))
|
||||
.Add(fCreateTeamButton = new BButton("Start new team"
|
||||
|
||||
@@ -30,7 +30,7 @@ PromptWindow::PromptWindow(const char* title, const char* label,
|
||||
BButton* acceptButton = new BButton("Accept", new
|
||||
BMessage(kAcceptInput));
|
||||
BLayoutBuilder::Group<>(this, B_VERTICAL)
|
||||
.SetInsets(4.0f, 4.0f, 4.0f, 4.0f)
|
||||
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||
.Add(fInfoView)
|
||||
.Add(fTextControl)
|
||||
.AddGroup(B_HORIZONTAL)
|
||||
|
||||
Reference in New Issue
Block a user