Author: pulkomandy Date: 2010-07-20 18:02:42 +0200 (Tue, 20 Jul 2010) New Revision: 37620 Changeset: http://dev.haiku-os.org/changeset/37620 Modified: haiku/trunk/src/preferences/locale/TimeFormatSettingsView.cpp Log: * Remove an useless BBox, because BBox nesting looks just too ugly. Modified: haiku/trunk/src/preferences/locale/TimeFormatSettingsView.cpp =================================================================== --- haiku/trunk/src/preferences/locale/TimeFormatSettingsView.cpp 2010-07-20 15:47:16 UTC (rev 37619) +++ haiku/trunk/src/preferences/locale/TimeFormatSettingsView.cpp 2010-07-20 16:02:42 UTC (rev 37620) @@ -175,9 +175,6 @@ 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 @@ 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 @@ .AddGlue() .End() .AddGroup(B_HORIZONTAL, spacing) - .Add(clockBox) + .Add(f24HrRadioButton) + .Add(f12HrRadioButton) .AddGlue() .End() .End()