fix binding loop when opening settings window

--fix missing id
pull/2/head
Michail Vourlakos 7 years ago
parent 15c4c2e16b
commit 3877b6736d

@ -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

@ -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();

Loading…
Cancel
Save