update
parent
1df3b4ba96
commit
2acb3c34bd
|
@ -38,6 +38,7 @@ FluControl {
|
||||||
id:control
|
id:control
|
||||||
width: 30
|
width: 30
|
||||||
height: 30
|
height: 30
|
||||||
|
clip: true
|
||||||
implicitWidth: width
|
implicitWidth: width
|
||||||
implicitHeight: height
|
implicitHeight: height
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
|
@ -465,15 +465,13 @@ Item {
|
||||||
id:btn_nav
|
id:btn_nav
|
||||||
iconSource: FluentIcons.GlobalNavButton
|
iconSource: FluentIcons.GlobalNavButton
|
||||||
iconSize: 15
|
iconSize: 15
|
||||||
Layout.preferredWidth: 40
|
Layout.preferredWidth: d.isMinimal ? 40 : 0
|
||||||
Layout.preferredHeight: 40
|
Layout.preferredHeight: 40
|
||||||
visible: opacity
|
|
||||||
opacity: d.isMinimal
|
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
onClicked: {
|
onClicked: {
|
||||||
d.enableNavigationPanel = !d.enableNavigationPanel
|
d.enableNavigationPanel = !d.enableNavigationPanel
|
||||||
}
|
}
|
||||||
Behavior on opacity{
|
Behavior on Layout.preferredWidth{
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 220
|
duration: 220
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue