mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-13 06:19:20 +00:00
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:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user