Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
朱子楚\zhuzi committed Apr 11, 2023
1 parent 1df3b4b commit 2acb3c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/controls/FluIconButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ FluControl {
id:control
width: 30
height: 30
clip: true
implicitWidth: width
implicitHeight: height
padding: 0
Expand Down
6 changes: 2 additions & 4 deletions src/controls/FluNavigationView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2acb3c3

Please sign in to comment.