Spacing adjustments as suggested by Axel.

This commit is contained in:
Rene Gollent
2013-05-05 08:55:13 -04:00
parent 73eeef0a52
commit 447f975c88
4 changed files with 5 additions and 4 deletions
@@ -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"
+1 -1
View File
@@ -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)