Skip to content

Commit

Permalink
fix: shutdown icon too small on window mode
Browse files Browse the repository at this point in the history
fix shutdown icon too small on window mode
  • Loading branch information
kt286 committed Dec 12, 2023
1 parent fe1615b commit e1757aa
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion qml/WindowedFrame.qml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ StackView {
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: false
Layout.preferredHeight: 50
Layout.preferredHeight: 36
spacing: 16

ToolButton {
icon.name: "shutdown"
icon.width: 18
icon.height: 18
ToolTip.visible: hovered
ToolTip.delay: 1000
ToolTip.text: qsTr("Power")
Expand All @@ -106,6 +108,8 @@ StackView {

ToolButton {
icon.name: "setting"
icon.width: 18
icon.height: 18
ToolTip.visible: hovered
ToolTip.delay: 1000
ToolTip.text: qsTr("Control Center")
Expand All @@ -119,16 +123,22 @@ StackView {
}

ButtonBox {
Layout.preferredHeight: 36
padding: 0
ColorSelector.family: Palette.CrystalColor
ToolButton {
icon.name: "title-icon"
icon.width: 18
icon.height: 18
checked: CategorizedSortProxyModel.categoryType === CategorizedSortProxyModel.DDECategory
onClicked: {
CategorizedSortProxyModel.categoryType = CategorizedSortProxyModel.DDECategory
}
}
ToolButton {
icon.name: "letter-icon"
icon.width: 18
icon.height: 18
checked: CategorizedSortProxyModel.categoryType === CategorizedSortProxyModel.Alphabetary
onClicked: {
CategorizedSortProxyModel.categoryType = CategorizedSortProxyModel.Alphabetary
Expand Down Expand Up @@ -254,6 +264,8 @@ StackView {

ToolButton {
icon.name: "launcher_fullscreen"
icon.width: 18
icon.height: 18
Accessible.name: "Fullscreen"
onClicked: {
LauncherController.currentFrame = "FullscreenFrame"
Expand Down

0 comments on commit e1757aa

Please sign in to comment.