mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Minor combobox tweak in the ugly style
Center the "drop down" arrow vertically.
This commit is contained in:
parent
3b0f5c3a69
commit
407bb49241
1 changed files with 1 additions and 0 deletions
|
@ -464,6 +464,7 @@ export ComboBox := Rectangle {
|
||||||
text:"▼";
|
text:"▼";
|
||||||
color: root.enabled ? Palette.text_color : Palette.text_color_disabled;
|
color: root.enabled ? Palette.text_color : Palette.text_color_disabled;
|
||||||
horizontal-stretch: 0;
|
horizontal-stretch: 0;
|
||||||
|
vertical-alignment: align_center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue