NComboBox is too wide by default

This commit is contained in:
ItsLemmy
2025-11-03 21:17:58 -05:00
parent bfc67f0e12
commit 572be1db27
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import qs.Widgets
RowLayout {
id: root
property real minimumWidth: 280 * Style.uiScaleRatio
property real minimumWidth: 200 * Style.uiScaleRatio
property real popupHeight: 180 * Style.uiScaleRatio
property string label: ""
+4
View File
@@ -19,7 +19,9 @@ RowLayout {
signal exited
Layout.fillWidth: true
opacity: enabled ? 1.0 : 0.6
spacing: Style.marginM
NLabel {
label: root.label
@@ -29,6 +31,8 @@ RowLayout {
Rectangle {
id: switcher
Layout.alignment: Qt.AlignVCenter
implicitWidth: Math.round(root.baseSize * .85) * 2
implicitHeight: Math.round(root.baseSize * .5) * 2
radius: height * 0.5