mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
7340bf85e3
* 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>
23 lines
480 B
QML
23 lines
480 B
QML
import QtCore
|
|
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Basic
|
|
|
|
MenuItem {
|
|
id: item
|
|
background: Rectangle {
|
|
radius: 10
|
|
width: parent.width -20
|
|
color: item.highlighted ? theme.menuHighlightColor : theme.menuBackgroundColor
|
|
}
|
|
|
|
contentItem: Text {
|
|
leftPadding: 10
|
|
rightPadding: 10
|
|
padding: 5
|
|
text: item.text
|
|
color: theme.textColor
|
|
font.pixelSize: theme.fontSizeLarge
|
|
}
|
|
}
|