From 67a0c8e7ac39d6e998175d16a3fe961656c41b20 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Sun, 2 Jun 2013 17:33:04 -0400 Subject: [PATCH] Revert "Backgrounds: Line up BBox top borders" This reverts commit 4fe4dcf947abde59b084345697c723fb82053bc1. Want to do a different way. --- src/preferences/backgrounds/BackgroundsView.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/preferences/backgrounds/BackgroundsView.cpp b/src/preferences/backgrounds/BackgroundsView.cpp index 801d5906a3..7718482664 100644 --- a/src/preferences/backgrounds/BackgroundsView.cpp +++ b/src/preferences/backgrounds/BackgroundsView.cpp @@ -29,7 +29,6 @@ #include #include #include -#include #include @@ -212,12 +211,7 @@ BackgroundsView::BackgroundsView() AddChild(BLayoutBuilder::Group<>(B_VERTICAL) .AddGroup(B_HORIZONTAL) - .AddGroup(B_VERTICAL, 0) - .Add(BSpaceLayoutItem::CreateVerticalStrut( - ceilf(rightbox->TopBorderOffset() / 2 - - previewBox->TopBorderOffset() / 2) + 1)) - .Add(previewBox) - .End() + .Add(previewBox) .Add(rightbox) .End() .AddGroup(B_HORIZONTAL)