From 2a64b13f81d088d8d41b654cf0481cd0f1cefef8 Mon Sep 17 00:00:00 2001 From: Preetpal Kaur Date: Sat, 22 Feb 2020 14:50:00 +0530 Subject: [PATCH] Input preference: inconsistent dialog buttons location. Fixes #15685 Change-Id: I38a48394ba45c7c53208e4333c797ec0b2310c96 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2262 Reviewed-by: Adrien Destugues --- src/preferences/input/InputKeyboard.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/preferences/input/InputKeyboard.cpp b/src/preferences/input/InputKeyboard.cpp index 9a1e7793dd..7fb157f8f8 100644 --- a/src/preferences/input/InputKeyboard.cpp +++ b/src/preferences/input/InputKeyboard.cpp @@ -50,10 +50,9 @@ InputKeyboard::InputKeyboard(BInputDevice* dev) .End() .Add(new BSeparatorView(B_HORIZONTAL)) .AddGroup(B_HORIZONTAL) - .SetInsets(B_USE_WINDOW_SPACING, 0, B_USE_WINDOW_SPACING, - B_USE_WINDOW_SPACING) .Add(fDefaultsButton) .Add(fRevertButton) + .AddGlue() .End(); BSlider* slider = (BSlider* )FindView("key_repeat_rate");