mirror of
https://github.com/KDE/latte-dock.git
synced 2025-08-26 05:49:29 +03:00
fix in many cases placement of configuration win
This commit is contained in:
@ -83,7 +83,10 @@ PlasmaCore.FrameSvgItem {
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
//! INFO: by changing this layout to just column reduces to minimimum
|
||||
//! the cases for which the config window is not placed correctly
|
||||
//! when is shown
|
||||
Column {
|
||||
id: content
|
||||
|
||||
Layout.minimumWidth: width
|
||||
@ -99,7 +102,10 @@ PlasmaCore.FrameSvgItem {
|
||||
|
||||
RowLayout {
|
||||
id: header
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: width
|
||||
Layout.minimumWidth: width
|
||||
|
||||
width: pagesBackground.width
|
||||
spacing: 0
|
||||
|
||||
KQuickControlAddons.QIconItem {
|
||||
@ -168,7 +174,7 @@ PlasmaCore.FrameSvgItem {
|
||||
Layout.minimumHeight: height
|
||||
Layout.maximumHeight: height
|
||||
|
||||
width: maxWidth - units.smallSpacing
|
||||
width: maxWidth //- units.smallSpacing
|
||||
height: behaviorPage.Layout.maximumHeight + units.smallSpacing * 4
|
||||
|
||||
property color bC: theme.backgroundColor
|
||||
@ -212,8 +218,12 @@ PlasmaCore.FrameSvgItem {
|
||||
RowLayout {
|
||||
id: actionButtons
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignBottom
|
||||
Layout.maximumWidth: width
|
||||
Layout.minimumWidth: width
|
||||
|
||||
width: pagesBackground.width
|
||||
|
||||
spacing: units.largeSpacing
|
||||
|
||||
property int docksCount: dock.docksCount
|
||||
|
Reference in New Issue
Block a user