From da81ea91d70295d54a8f983bc9ce2730b60c3dfd Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Sat, 4 Sep 2010 08:47:41 +0000 Subject: [PATCH] patch by 'jstreessman' fixing regressions in AboutSystem and InstallerWindow from r38512, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38526 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/aboutsystem/AboutSystem.cpp | 2 +- src/apps/installer/InstallerWindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/aboutsystem/AboutSystem.cpp b/src/apps/aboutsystem/AboutSystem.cpp index 30e6cb2d2e..4747110fbb 100644 --- a/src/apps/aboutsystem/AboutSystem.cpp +++ b/src/apps/aboutsystem/AboutSystem.cpp @@ -587,7 +587,7 @@ AboutView::AboutView() const float offset = 5; - SetLayout(new BGroupLayout(B_HORIZONTAL)); + SetLayout(new BGroupLayout(B_HORIZONTAL, 0)); SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); BLayoutBuilder::Group<>((BGroupLayout*)GetLayout()) diff --git a/src/apps/installer/InstallerWindow.cpp b/src/apps/installer/InstallerWindow.cpp index 1f76418d68..b277e84d36 100644 --- a/src/apps/installer/InstallerWindow.cpp +++ b/src/apps/installer/InstallerWindow.cpp @@ -236,9 +236,9 @@ InstallerWindow::InstallerWindow() float spacing = be_control_look->DefaultItemSpacing(); SetLayout(new BGroupLayout(B_HORIZONTAL)); - AddChild(BGroupLayoutBuilder(B_VERTICAL) + AddChild(BGroupLayoutBuilder(B_VERTICAL, 0) .Add(mainMenu) - .Add(BGroupLayoutBuilder(B_HORIZONTAL) + .Add(BGroupLayoutBuilder(B_HORIZONTAL, 0) .Add(logoView) .Add(fStatusView) )