mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
try a different look for the configure/remove button
This commit is contained in:
parent
3d825bbcf6
commit
bd5ca6fd61
1 changed files with 6 additions and 6 deletions
|
|
@ -62,24 +62,24 @@ Rectangle {
|
|||
anchors.fill: parent
|
||||
preventStealing: true
|
||||
onClicked: editOverlay.opacity = 0;
|
||||
Row {
|
||||
PlasmaComponents.ButtonRow {
|
||||
visible: editOverlay.applet
|
||||
spacing: 0
|
||||
exclusive: false
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
y: parent.mapFromItem(editOverlay.applet, 0, 0).y + units.gridUnit * 3
|
||||
y: editOverlay.mapFromItem(editOverlay.applet.parent, 0, editOverlay.applet.y).y + editOverlay.applet.height/2 - height/2
|
||||
PlasmaComponents.ToolButton {
|
||||
iconSource: "configure"
|
||||
text: i18n("Configure..")
|
||||
flat: false
|
||||
onClicked: {
|
||||
editOverlay.applet.applet.action("configure").trigger();
|
||||
editOverlay.opacity = 0;
|
||||
}
|
||||
}
|
||||
Item {
|
||||
width: units.gridUnit * 10
|
||||
height: 1
|
||||
}
|
||||
PlasmaComponents.ToolButton {
|
||||
iconSource: "window-close"
|
||||
text: i18n("Remove")
|
||||
flat: false
|
||||
onClicked: {
|
||||
editOverlay.applet.applet.action("remove").trigger();
|
||||
|
|
|
|||
Loading…
Reference in a new issue