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)