Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Mobile
Commits
bd5ca6fd
Commit
bd5ca6fd
authored
Oct 01, 2015
by
Marco Martin
Browse files
try a different look for the configure/remove button
parent
3d825bbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
containments/homescreen/package/contents/ui/EditOverlay.qml
View file @
bd5ca6fd
...
...
@@ -62,24 +62,24 @@ Rectangle {
anchors.fill
:
parent
preventStealing
:
true
onClicked
:
editOverlay
.
opacity
=
0
;
Row
{
PlasmaComponents.Button
Row
{
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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment