From af5b356d7d7456a86aa8125a820064ffa7b8b217 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 2 Feb 2020 22:48:49 +0100 Subject: [PATCH] Installer: small tweak to layout Should fix #14574. Change-Id: I0aa13eda0af936d371664c678a6ff5b8ceabff79 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2181 Reviewed-by: waddlesplash --- src/apps/installer/InstallerWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/installer/InstallerWindow.cpp b/src/apps/installer/InstallerWindow.cpp index 7f6671dc22..f96e655dcd 100644 --- a/src/apps/installer/InstallerWindow.cpp +++ b/src/apps/installer/InstallerWindow.cpp @@ -174,7 +174,6 @@ InstallerWindow::InstallerWindow() fStatusView = new BTextView("statusView", be_plain_font, NULL, B_WILL_DRAW); fStatusView->SetViewColor(255, 255, 255, 255); - fStatusView->SetInsets(10, 0, 10, 0); fStatusView->MakeEditable(false); fStatusView->MakeSelectable(false); @@ -185,8 +184,9 @@ InstallerWindow::InstallerWindow() // Explicitly create group view to set the background white in case // height resizing is needed for the status view - fLogoGroup = new BGroupView(B_HORIZONTAL, 0); + fLogoGroup = new BGroupView(B_HORIZONTAL, 10); fLogoGroup->SetViewColor(255, 255, 255); + fLogoGroup->GroupLayout()->SetInsets(0, 0, 10, 0); fLogoGroup->GroupLayout()->AddView(logoView); fLogoGroup->GroupLayout()->AddView(fStatusView);