Skip to content
GitLab
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
79254bac
Commit
79254bac
authored
Jan 23, 2022
by
Nate Graham
Browse files
configuration: use highlighted delegate appearance on pressed as well
parent
c826f447
Changes
1
Hide whitespace changes
Inline
Side-by-side
desktoppackage/contents/configuration/ConfigCategoryDelegate.qml
View file @
79254bac
...
...
@@ -51,7 +51,7 @@ QQC2.ItemDelegate {
width
:
Kirigami
.
Units
.
iconSizes
.
medium
height
:
width
icon
:
model
.
icon
state
:
highlighted
&&
Window
.
active
?
QIconItem
.
SelectedState
:
QIconItem
.
DefaultState
state
:
Window
.
active
&&
(
delegate
.
highlighted
||
delegate
.
pressed
)
?
QIconItem
.
SelectedState
:
QIconItem
.
DefaultState
}
QQC2.Label
{
...
...
@@ -62,7 +62,7 @@ QQC2.ItemDelegate {
text
:
model
.
name
wrapMode
:
Text
.
Wrap
horizontalAlignment
:
Text
.
AlignHCenter
color
:
highlighted
&&
Window
.
active
?
Kirigami
.
Theme
.
highlightedTextColor
:
Kirigami
.
Theme
.
textColor
color
:
Window
.
active
&&
(
delegate
.
highlighted
||
delegate
.
pressed
)
?
Kirigami
.
Theme
.
highlightedTextColor
:
Kirigami
.
Theme
.
textColor
}
}
//END UI components
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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