[haiku-commits] haiku: hrev44397 - src/preferences/notifications

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 24 Jul 2012 03:54:27 +0200 (CEST)

hrev44397 adds 1 changeset to branch 'master'
old head: dc321a67d62048d4afb6ede3a59368029446ea96
new head: e32c26f1c7ab66f202877f88565ad65fa5532318

----------------------------------------------------------------------------

e32c26f: Notification preflet: add margin to views in TabView

                                [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev44397
Commit:      e32c26f1c7ab66f202877f88565ad65fa5532318
URL:         http://cgit.haiku-os.org/haiku/commit/?id=e32c26f
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Tue Jul 24 01:50:23 2012 UTC

----------------------------------------------------------------------------

3 files changed, 3 insertions(+), 1 deletion(-)
src/preferences/notifications/DisplayView.cpp      |    1 +
src/preferences/notifications/GeneralView.cpp      |    2 +-
.../notifications/NotificationsView.cpp            |    1 +

----------------------------------------------------------------------------

diff --git a/src/preferences/notifications/DisplayView.cpp 
b/src/preferences/notifications/DisplayView.cpp
index e797215..cde5bcf 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 081bf89..7d1eb8d 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 be9f1b1..b032666 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)
        );
 }
 


Other related posts: