Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 41 | RowLayout { | |||
---|---|---|---|---|---|
95 | 95 | | |||
96 | //spacer | 96 | //spacer | ||
97 | Item { | 97 | Item { | ||
98 | Layout.fillWidth: true | 98 | Layout.fillWidth: true | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | PlasmaComponents.ToolButton { | 101 | PlasmaComponents.ToolButton { | ||
102 | id: pinButton | 102 | id: pinButton | ||
103 | Layout.preferredHeight: Math.round(units.gridUnit * 1.25) | ||||
104 | Layout.preferredWidth: Layout.preferredHeight | ||||
103 | checkable: true | 105 | checkable: true | ||
104 | checked: plasmoid.configuration.pin | 106 | checked: plasmoid.configuration.pin | ||
105 | onCheckedChanged: plasmoid.configuration.pin = checked | 107 | onCheckedChanged: plasmoid.configuration.pin = checked | ||
106 | icon.name: "window-pin" | 108 | icon.name: "window-pin" | ||
107 | PlasmaComponents.ToolTip { | 109 | PlasmaComponents.ToolTip { | ||
108 | text: i18n("Keep Open") | 110 | text: i18n("Keep Open") | ||
109 | } | 111 | } | ||
110 | } | 112 | } | ||
Show All 31 Lines |