From fe9f33d1c2720b89899cbd27e75f7d8e3dd81eef Mon Sep 17 00:00:00 2001 From: John Scipione Date: Fri, 15 Mar 2013 21:55:53 -0400 Subject: [PATCH] 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. --- src/preferences/appearance/APRWindow.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/preferences/appearance/APRWindow.cpp b/src/preferences/appearance/APRWindow.cpp index 87afe9487c..15ab77e906 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) ); }