From 0b269e50a0819750ccf88786a0f93d302be31b49 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 20 Jul 2010 16:02:42 +0000 Subject: [PATCH] * 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 --- src/preferences/locale/TimeFormatSettingsView.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/preferences/locale/TimeFormatSettingsView.cpp b/src/preferences/locale/TimeFormatSettingsView.cpp index 77498cdac1..5d6f6323d7 100644 --- a/src/preferences/locale/TimeFormatSettingsView.cpp +++ b/src/preferences/locale/TimeFormatSettingsView.cpp @@ -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()