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 Desktop
Commits
0b2e912d
Commit
0b2e912d
authored
Apr 16, 2021
by
Nate Graham
Browse files
[kcms/keys] Don't let hover button overlap long list item text
parent
be5925a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
kcms/keys/package/contents/ui/main.qml
View file @
0b2e912d
...
...
@@ -122,15 +122,17 @@ KCM.AbstractKCM {
QQC2.Label
{
Layout.fillWidth
:
true
text
:
model
.
display
elide
:
Text
.
ElideRight
color
:
foregroundColor
opacity
:
model
.
pendingDeletion
?
0.3
:
1
}
QQC2.ToolButton
{
Layout.preferredHeight
:
Kirigami
.
Units
.
iconSizes
.
small
+
2
*
Kirigami
.
Units
.
smallSpacing
Layout.preferredWidth
:
Layout
.
preferredHeight
visible
:
model
.
section
!=
i18n
(
"
Common Actions
"
)
&&
!
exportActive
&&
!
model
.
pendingDeletion
opacity
:
componentDelegate
.
containsMouse
||
componentDelegate
.
ListView
.
isCurrentItem
?
1
:
0
enabled
:
opacity
visible
:
model
.
section
!=
i18n
(
"
Common Actions
"
)
&&
!
exportActive
&&
!
model
.
pendingDeletion
&&
(
componentDelegate
.
containsMouse
||
componentDelegate
.
ListView
.
isCurrentItem
)
icon.name
:
"
edit-delete
"
icon.width
:
Kirigami
.
Units
.
iconSizes
.
small
onClicked
:
model
.
pendingDeletion
=
true
...
...
Write
Preview
Supports
Markdown
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