PlasmoidItem fix
This commit is contained in:
parent
a44cbe1bfa
commit
4177681d46
@ -40,10 +40,10 @@ PlasmoidItem {
|
|||||||
|| plasmoid.location === PlasmaCore.Types.LeftEdge)
|
|| plasmoid.location === PlasmaCore.Types.LeftEdge)
|
||||||
readonly property bool vertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical)
|
readonly property bool vertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical)
|
||||||
|
|
||||||
Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20
|
switchWidth: Kirigami.Units.gridUnit * 20
|
||||||
Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30
|
switchHeight: Kirigami.Units.gridUnit * 30
|
||||||
|
|
||||||
|
|
||||||
|
fullRepresentation: FullRepresentation {}
|
||||||
|
|
||||||
Plasmoid.icon: plasmoid.configuration.icon
|
Plasmoid.icon: plasmoid.configuration.icon
|
||||||
|
|
||||||
@ -139,8 +139,8 @@ PlasmoidItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (plasmoid.hasOwnProperty("activationTogglesExpanded")) {
|
if (hasOwnProperty("activationTogglesExpanded")) {
|
||||||
plasmoid.activationTogglesExpanded = true
|
activationTogglesExpanded = true
|
||||||
}
|
}
|
||||||
if (plasmoid.immutability !== PlasmaCore.Types.SystemImmutable) {
|
if (plasmoid.immutability !== PlasmaCore.Types.SystemImmutable) {
|
||||||
plasmoid.setAction("menuedit", i18n("Edit Applications..."), "kmenuedit");
|
plasmoid.setAction("menuedit", i18n("Edit Applications..."), "kmenuedit");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user