From 1a1845b7d75740e7bd86fbe7680c373a37343fc5 Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Thu, 7 Jun 2018 23:55:07 +0300 Subject: [PATCH] [effects/slide] Use FormLayout in KCM Summary: HBoxLayout was a bad choice for label-spinbox pairs. Use appropriate layout(FormLayout) for such things. Test Plan: The KCM still looks the same. Reviewers: #kwin, mart Reviewed By: #kwin, mart Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D13422 --- effects/slide/slide_config.ui | 156 +++++++++++----------------------- 1 file changed, 50 insertions(+), 106 deletions(-) diff --git a/effects/slide/slide_config.ui b/effects/slide/slide_config.ui index 016cf799b2..3366009986 100644 --- a/effects/slide/slide_config.ui +++ b/effects/slide/slide_config.ui @@ -12,27 +12,15 @@ - - + + - - - 100 - 0 - - - D&uration: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_Duration + Duration: - + @@ -40,12 +28,6 @@ 0 - - - 0 - 0 - - Default @@ -63,94 +45,56 @@ - - - true - + Gap between desktops - - - - - - - - 100 - 0 - - - - Hori&zontal: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_HorizontalGap - - - - - - - - 0 - 0 - - - - - - - 1000 - - - 5 - - - - + + + + + Horizontal: + + - - - - - - - 100 - 0 - - - - Ver&tical: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - kcfg_VerticalGap - - - - - - - - 0 - 0 - - - - 1000 - - - 5 - - - - + + + + + 0 + 0 + + + + 1000 + + + 5 + + + + + + + Vertical: + + + + + + + + 0 + 0 + + + + 1000 + + + 5 + +