main
朱子楚\zhuzi 2023-04-11 23:43:20 +08:00
parent 1df3b4ba96
commit 2acb3c34bd
2 changed files with 3 additions and 4 deletions

View File

@ -38,6 +38,7 @@ FluControl {
id:control
width: 30
height: 30
clip: true
implicitWidth: width
implicitHeight: height
padding: 0

View File

@ -465,15 +465,13 @@ Item {
id:btn_nav
iconSource: FluentIcons.GlobalNavButton
iconSize: 15
Layout.preferredWidth: 40
Layout.preferredWidth: d.isMinimal ? 40 : 0
Layout.preferredHeight: 40
visible: opacity
opacity: d.isMinimal
Layout.alignment: Qt.AlignVCenter
onClicked: {
d.enableNavigationPanel = !d.enableNavigationPanel
}
Behavior on opacity{
Behavior on Layout.preferredWidth{
NumberAnimation{
duration: 220
}