* Remove an useless BBox, because BBox nesting looks just too ugly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37620 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4b37c7f861
commit
0b269e50a0
@ -175,9 +175,6 @@ FormatView::FormatView(BCountry* country)
|
||||
|
||||
fSeparatorMenuField = new BMenuField(B_TRANSLATE("Separator:"), menu);
|
||||
|
||||
BBox* clockBox = new BBox("Clock");
|
||||
clockBox->SetLabel(B_TRANSLATE("Clock"));
|
||||
|
||||
f24HrRadioButton = new BRadioButton("", B_TRANSLATE("24 hour"),
|
||||
new BMessage(kClockFormatChange));
|
||||
|
||||
@ -193,11 +190,6 @@ FormatView::FormatView(BCountry* country)
|
||||
|
||||
float spacing = be_control_look->DefaultItemSpacing();
|
||||
|
||||
clockBox->AddChild(BGroupLayoutBuilder(B_VERTICAL)
|
||||
.Add(f24HrRadioButton)
|
||||
.Add(f12HrRadioButton)
|
||||
.SetInsets(spacing, 0, spacing, 0));
|
||||
|
||||
fLongTimeExampleView = new BStringView("", "");
|
||||
fShortTimeExampleView = new BStringView("", "");
|
||||
|
||||
@ -307,7 +299,8 @@ FormatView::FormatView(BCountry* country)
|
||||
.AddGlue()
|
||||
.End()
|
||||
.AddGroup(B_HORIZONTAL, spacing)
|
||||
.Add(clockBox)
|
||||
.Add(f24HrRadioButton)
|
||||
.Add(f12HrRadioButton)
|
||||
.AddGlue()
|
||||
.End()
|
||||
.End()
|
||||
|
Loading…
Reference in New Issue
Block a user