From 12da42499863f84a8fb4ea7522c76872d9982f31 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sat, 13 Apr 2019 19:22:01 +0300 Subject: [PATCH] flexible layout for effects page --- .../configuration/pages/EffectsConfig.qml | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/shell/package/contents/configuration/pages/EffectsConfig.qml b/shell/package/contents/configuration/pages/EffectsConfig.qml index 13d613e28..0c778d998 100644 --- a/shell/package/contents/configuration/pages/EffectsConfig.qml +++ b/shell/package/contents/configuration/pages/EffectsConfig.qml @@ -393,7 +393,8 @@ PlasmaComponents.Page { } LatteComponents.CheckBoxesColumn { - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Bounce launchers when triggered") checked: plasmoid.configuration.animationLauncherBouncing @@ -402,7 +403,8 @@ PlasmaComponents.Page { } } - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Bounce tasks that need attention") checked: plasmoid.configuration.animationWindowInAttention @@ -411,7 +413,8 @@ PlasmaComponents.Page { } } - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Slide in and out single windows") checked: plasmoid.configuration.animationNewWindowSliding @@ -420,7 +423,8 @@ PlasmaComponents.Page { } } - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Grouped tasks bounce their new windows") checked: plasmoid.configuration.animationWindowAddedInGroup @@ -429,7 +433,8 @@ PlasmaComponents.Page { } } - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Grouped tasks slide out their closed windows") checked: plasmoid.configuration.animationWindowRemovedFromGroup @@ -578,7 +583,8 @@ PlasmaComponents.Page { } LatteComponents.CheckBoxesColumn { - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Show indicators for applets") checked: latteView.indicator.enabledForApplets tooltip: i18n("Indicators are shown for applets") @@ -588,7 +594,8 @@ PlasmaComponents.Page { } } - PlasmaComponents.CheckBox { + LatteComponents.CheckBox { + Layout.maximumWidth: dialog.optionsWidth text: i18n("Reverse indicator style") checked: latteView.indicator.reversed tooltip: i18n("Reverse indicator style e.g. from bottom to top")