[haiku-commits] haiku: hrev45369 - src/preferences/appearance

  • From: jscipione@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 16 Mar 2013 03:00:32 +0100 (CET)

hrev45369 adds 1 changeset to branch 'master'
old head: 5bfc9c7091f3b728bb6a7083e82fac4d21682f7f
new head: fe9f33d1c2720b89899cbd27e75f7d8e3dd81eef
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=fe9f33d+%5E5bfc9c7

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

fe9f33d: Reorder Default and Revert buttons in Appearance.
  
  To match at least a couple other preflets that have Default and Revert buttons
  such as Locale, CPU Frequency, Tracker, and Mouse.

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

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

Revision:    hrev45369
Commit:      fe9f33d1c2720b89899cbd27e75f7d8e3dd81eef
URL:         http://cgit.haiku-os.org/haiku/commit/?id=fe9f33d
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Sat Mar 16 01:55:53 2013 UTC

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

1 file changed, 3 insertions(+), 2 deletions(-)
src/preferences/appearance/APRWindow.cpp | 5 +++--

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

diff --git a/src/preferences/appearance/APRWindow.cpp 
b/src/preferences/appearance/APRWindow.cpp
index 87afe94..15ab77e 100644
--- a/src/preferences/appearance/APRWindow.cpp
+++ b/src/preferences/appearance/APRWindow.cpp
@@ -71,11 +71,12 @@ APRWindow::APRWindow(BRect frame)
                .Add(tabView)
                .Add(BSpaceLayoutItem::CreateVerticalStrut(5))
                .Add(BGroupLayoutBuilder(B_HORIZONTAL)
+                       .Add(fDefaultsButton)
                        .Add(fRevertButton)
                        .AddGlue()
-                       .Add(fDefaultsButton)
                )
-               .SetInsets(5, 5, 5, 5)
+               .SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
+                       B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
        );
 }
 


Other related posts:

  • » [haiku-commits] haiku: hrev45369 - src/preferences/appearance - jscipione