Remove spectral style from autocomplete list
This commit is contained in:
@@ -115,16 +115,7 @@ ToolBar {
|
|||||||
property bool isEmoji: modelData.unicode != null
|
property bool isEmoji: modelData.unicode != null
|
||||||
readonly property bool highlighted: autoCompleteListView.currentIndex == index
|
readonly property bool highlighted: autoCompleteListView.currentIndex == index
|
||||||
|
|
||||||
height: 36
|
padding: Kirigami.Units.smallSpacing
|
||||||
padding: 6
|
|
||||||
|
|
||||||
background: Rectangle {
|
|
||||||
visible: !isEmoji
|
|
||||||
color: highlighted ? border.color : "transparent"
|
|
||||||
border.color: isEmoji ? Kirigami.Theme.focusColor : modelData.color
|
|
||||||
border.width: 2
|
|
||||||
radius: height / 2
|
|
||||||
}
|
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
spacing: Kirigami.Units.largeSpacing
|
spacing: Kirigami.Units.largeSpacing
|
||||||
@@ -151,6 +142,7 @@ ToolBar {
|
|||||||
visible: !isEmoji
|
visible: !isEmoji
|
||||||
text: autoCompleteText
|
text: autoCompleteText
|
||||||
color: highlighted ? Kirigami.Theme.highlightTextColor : Kirigami.Theme.textColor
|
color: highlighted ? Kirigami.Theme.highlightTextColor : Kirigami.Theme.textColor
|
||||||
|
font.underline: highlighted
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
rightPadding: Kirigami.Units.largeSpacing
|
rightPadding: Kirigami.Units.largeSpacing
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user