mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 17:00:36 +02:00
Adjust SettingComboBox.qml.
Changed the colors and border. Adjusting sizing so to not overlap with the dropdown arrow. Signed-off-by: armored-dragon <publicmail@armoreddragon.com>
This commit is contained in:
parent
97ae144f85
commit
e7a446abe9
1 changed files with 21 additions and 12 deletions
|
@ -61,20 +61,29 @@ Item {
|
|||
highlighted: control.highlightedIndex === index
|
||||
}
|
||||
|
||||
contentItem: Text {
|
||||
text: control.displayText
|
||||
color: "white";
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
font.pointSize: 14;
|
||||
elide: Text.ElideRight
|
||||
width: parent.width;
|
||||
}
|
||||
contentItem: RowLayout {
|
||||
width: parent.width - 20;
|
||||
height: parent.height;
|
||||
|
||||
Item {
|
||||
width: parent.width - 10;
|
||||
height: parent.height;
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent;
|
||||
width: parent.width;
|
||||
text: control.displayText;
|
||||
horizontalAlignment: Text.AlignHCenter;
|
||||
verticalAlignment: Text.AlignVCenter;
|
||||
elide: Text.ElideRight;
|
||||
font.pointSize: 14;
|
||||
color: "white";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
border.color: "white";
|
||||
border.width: 1;
|
||||
color: "transparent";
|
||||
color: "#333";
|
||||
radius: 10;
|
||||
width: parent.width;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue