hrev46097 adds 1 changeset to branch 'master' old head: e7c330c6f3d36d1ccb98be6f0eb4bae1ff9be160 new head: 09c9f21ce48c1af30ab4c54ea77687e5fe62fd19 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=09c9f21+%5Ee7c330c ---------------------------------------------------------------------------- 09c9f21: ScreenSaver: tabs hug window boundary Taking a page from HaikuDepot's book, remove the border from the tab view and set the inset to 0 in order to position the tabview right on the window's edge. Looks a bit better than the previous method since the tabview border appeared to extend the thickness of the window border. [ John Scipione <jscipione@xxxxxxxxx> ] ---------------------------------------------------------------------------- Revision: hrev46097 Commit: 09c9f21ce48c1af30ab4c54ea77687e5fe62fd19 URL: http://cgit.haiku-os.org/haiku/commit/?id=09c9f21 Author: John Scipione <jscipione@xxxxxxxxx> Date: Thu Sep 19 23:03:38 2013 UTC ---------------------------------------------------------------------------- 1 file changed, 2 insertions(+), 1 deletion(-) src/preferences/screensaver/ScreenSaverWindow.cpp | 3 ++- ---------------------------------------------------------------------------- diff --git a/src/preferences/screensaver/ScreenSaverWindow.cpp b/src/preferences/screensaver/ScreenSaverWindow.cpp index 4d4303c..7822bfe 100644 --- a/src/preferences/screensaver/ScreenSaverWindow.cpp +++ b/src/preferences/screensaver/ScreenSaverWindow.cpp @@ -861,6 +861,7 @@ ScreenSaverWindow::ScreenSaverWindow() // Create the tab view fTabView = new BTabView("tab_view", B_WIDTH_FROM_LABEL); + fTabView->SetBorder(B_NO_BORDER); // Create the controls inside the tabs fFadeView = new FadeView(B_TRANSLATE("General"), fSettings); @@ -876,7 +877,7 @@ ScreenSaverWindow::ScreenSaverWindow() B_ALIGN_USE_FULL_HEIGHT)); topView->SetExplicitMinSize(BSize(fMinWidth, fMinHeight)); BLayoutBuilder::Group<>(topView, B_VERTICAL) - .SetInsets(-1, B_USE_SMALL_SPACING, -1, -1) + .SetInsets(0, B_USE_SMALL_SPACING, 0, 0) .Add(fTabView) .End();