diff --git a/shell/package/contents/configuration/LatteCheckBoxStyle.qml b/shell/package/contents/configuration/LatteCheckBoxStyle.qml index edcd94677..21b61293c 100644 --- a/shell/package/contents/configuration/LatteCheckBoxStyle.qml +++ b/shell/package/contents/configuration/LatteCheckBoxStyle.qml @@ -28,6 +28,8 @@ import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.components 2.0 as PlasmaComponents PlasmaStyles.CheckBoxStyle{ + id: checkboxStyle + label: PlasmaComponents.Label { id: labelStyleTxt text: control.text diff --git a/shell/package/contents/configuration/LatteDockConfiguration.qml b/shell/package/contents/configuration/LatteDockConfiguration.qml index cf23d3318..194ca7616 100644 --- a/shell/package/contents/configuration/LatteDockConfiguration.qml +++ b/shell/package/contents/configuration/LatteDockConfiguration.qml @@ -102,16 +102,17 @@ FocusScope { id: content Layout.minimumWidth: width - Layout.minimumHeight: height + Layout.minimumHeight: calculatedHeight Layout.preferredWidth: width - Layout.preferredHeight: height - height: header.height + headerSpacer.height+ tabBar.height + pagesBackground.height + actionButtons.height + spacing * 3 + Layout.preferredHeight: calculatedHeight width: dialog.maxWidth anchors.horizontalCenter: parent.horizontalCenter anchors.top: parent.top spacing: units.smallSpacing + property int calculatedHeight: header.height + headerSpacer.height+ tabBar.height + pagesBackground.height + actionButtons.height + spacing * 3 + Keys.onPressed: { if (event.key === Qt.Key_Escape) { dockConfig.hideConfigWindow();