Skip to content

Commit

Permalink
Force a minimum popup height of 5 sidebar buttons (Issue #125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zren committed Apr 26, 2022
1 parent a593660 commit 97a3e10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions package/contents/ui/AppletConfig.qml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Item {
readonly property int sidebarPopupButtonSize: plasmoid.configuration.sidebarPopupButtonSize * PlasmaCore.Units.devicePixelRatio
readonly property int appListWidth: plasmoid.configuration.appListWidth * PlasmaCore.Units.devicePixelRatio
readonly property int tileEditorMinWidth: Math.max(350, 350 * PlasmaCore.Units.devicePixelRatio)
readonly property int minimumHeight: flatButtonSize * 5 // Issue #125

property bool showSearch: false
property bool isEditingTile: false
Expand Down
1 change: 1 addition & 0 deletions package/contents/ui/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ Item {
anchors.fill: parent
}
Layout.minimumWidth: config.leftSectionWidth
Layout.minimumHeight: config.minimumHeight
Layout.preferredWidth: config.popupWidth
Layout.preferredHeight: config.popupHeight

Expand Down

0 comments on commit 97a3e10

Please sign in to comment.