From e32c26f1c7ab66f202877f88565ad65fa5532318 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Mon, 23 Jul 2012 21:50:23 -0400 Subject: [PATCH] Notification preflet: add margin to views in TabView --- src/preferences/notifications/DisplayView.cpp | 1 + src/preferences/notifications/GeneralView.cpp | 2 +- src/preferences/notifications/NotificationsView.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/preferences/notifications/DisplayView.cpp b/src/preferences/notifications/DisplayView.cpp index e7972157e6..cde5bcfe36 100644 --- a/src/preferences/notifications/DisplayView.cpp +++ b/src/preferences/notifications/DisplayView.cpp @@ -65,6 +65,7 @@ DisplayView::DisplayView(SettingsHost* host) .Add(fIconSizeField->CreateLabelLayoutItem(), 0, 1) .Add(fIconSizeField->CreateMenuBarLayoutItem(), 1, 1) .Add(BSpaceLayoutItem::CreateGlue(), 0, 2, 2, 1) + .SetInsets(inset, inset, inset, inset) ); } diff --git a/src/preferences/notifications/GeneralView.cpp b/src/preferences/notifications/GeneralView.cpp index 081bf89681..7d1eb8df6f 100644 --- a/src/preferences/notifications/GeneralView.cpp +++ b/src/preferences/notifications/GeneralView.cpp @@ -107,7 +107,7 @@ GeneralView::GeneralView(SettingsHost* host) .End() .End() .End() - + .SetInsets(inset, inset, inset, inset) .AddGlue() ); } diff --git a/src/preferences/notifications/NotificationsView.cpp b/src/preferences/notifications/NotificationsView.cpp index be9f1b1c11..b032666a50 100644 --- a/src/preferences/notifications/NotificationsView.cpp +++ b/src/preferences/notifications/NotificationsView.cpp @@ -118,6 +118,7 @@ NotificationsView::NotificationsView() .End() .Add(fApplications) .Add(fNotifications) + .SetInsets(inset, inset, inset, inset) ); }