Update theme for menus (#2578)

* Add radius to selected menu items, adust width to fit. Update colors.
* Fix server text color in chatview.

Signed-off-by: 3simplex <10260755+3Simplex@users.noreply.github.com>
This commit is contained in:
3Simplex
2024-07-10 10:36:20 -04:00
committed by GitHub
parent 0de6eba69e
commit 7340bf85e3
6 changed files with 63 additions and 15 deletions

View File

@@ -62,7 +62,7 @@ MySettingsTab {
elide: Text.ElideRight
}
delegate: ItemDelegate {
width: comboBox.width
width: comboBox.width -20
contentItem: Text {
text: name
color: theme.textColor
@@ -71,7 +71,8 @@ MySettingsTab {
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
color: highlighted ? theme.lightContrast : theme.darkContrast
radius: 10
color: highlighted ? theme.menuHighlightColor : theme.menuBackgroundColor
}
highlighted: comboBox.highlightedIndex === index
}