Commit 15d61847 authored by pontaoski's avatar pontaoski 🌈
Browse files

[applets/appmenu]: Allow the full menu to display on vertical panels

parent c19869c0
......@@ -30,17 +30,14 @@ Kirigami.FormLayout {
anchors.right: parent.right
property alias cfg_compactView: compactViewRadioButton.checked
property bool disableSetting: plasmoid.formFactor === PlasmaCore.Types.Vertical
RadioButton {
id: compactViewRadioButton
enabled: !disableSetting
text: i18n("Use single button for application menu")
}
RadioButton {
id: fullViewRadioButton
enabled: !disableSetting
checked: !compactViewRadioButton.checked
text: i18n("Show full application menu")
}
......
......@@ -39,7 +39,7 @@ Item {
plasmoid.nativeInterface.view = view
}
Plasmoid.preferredRepresentation: (plasmoid.configuration.compactView || vertical) ? Plasmoid.compactRepresentation : Plasmoid.fullRepresentation
Plasmoid.preferredRepresentation: (plasmoid.configuration.compactView) ? Plasmoid.compactRepresentation : Plasmoid.fullRepresentation
Plasmoid.compactRepresentation: PlasmaComponents3.ToolButton {
readonly property int fakeIndex: 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment