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