NComboBox: better sizing

This commit is contained in:
LemmyCook 2025-09-07 21:13:45 -04:00
parent e03042c411
commit a68b3f49b0
2 changed files with 11 additions and 6 deletions

View file

@ -71,7 +71,7 @@ Item {
anchors.left: rightOpen ? parent.left : undefined
anchors.right: rightOpen ? undefined : parent.right
anchors.leftMargin: rightOpen ? iconSize * 0.8 : 0
anchors.rightMargin: rightOpen ? 0 : iconSize * 0.8
anchors.rightMargin: rightOpen ? 0 : iconSize * 0.8
text: root.text
font.pointSize: Style.fontSizeXS * scaling
font.weight: Style.fontWeightBold