From 0765c5c5f53dda993574d3fea1a031ceb56113b5 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 28 Oct 2018 02:00:44 +0300 Subject: [PATCH] increase settings win height for advanced option --- .../contents/configuration/LatteDockConfiguration.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/shell/package/contents/configuration/LatteDockConfiguration.qml b/shell/package/contents/configuration/LatteDockConfiguration.qml index 73026efab..b8a464ec8 100644 --- a/shell/package/contents/configuration/LatteDockConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockConfiguration.qml @@ -54,7 +54,11 @@ FocusScope { //! chosen size to be applied, if the user has set or not a different scale for the settings window property int chosenWidth: userScaleWidth !== 100 ? (userScaleWidth/100) * proposedWidth : proposedWidth - property int chosenHeight: userScaleHeight !== 100 ? (userScaleHeight/100) * proposedHeight : proposedHeight + property int chosenHeight: userScaleHeight !== 100 ? (userScaleHeight/100) * heightLevel * proposedHeight : heightLevel * proposedHeight + + readonly property real heightLevel: (plasmoid.configuration.advanced ? 1.7 : 1) + + onHeightChanged: dockConfig.syncGeometry(); //! applied size in order to not be out of boundaries //! width can be between 200px - maxWidth