nlineargauge: tweaking for vertical vs horizontal

This commit is contained in:
Lemmy
2026-03-04 08:14:27 -05:00
parent 0a7e81c345
commit f342abf443
2 changed files with 13 additions and 13 deletions
+12 -12
View File
@@ -387,18 +387,18 @@
"subTabLabel": "common.behavior"
},
{
"labelKey": "panels.bar.behavior-middle-click-follow-mouse-label",
"descriptionKey": "panels.bar.behavior-middle-click-follow-mouse-description",
"widget": "NToggle",
"labelKey": "panels.bar.behavior-middle-click-command-label",
"descriptionKey": "panels.bar.behavior-middle-click-command-description",
"widget": "NTextInput",
"tab": 4,
"tabLabel": "panels.bar.title",
"subTab": 2,
"subTabLabel": "common.behavior"
},
{
"labelKey": "panels.bar.behavior-middle-click-command-label",
"descriptionKey": "panels.bar.behavior-middle-click-command-description",
"widget": "NTextInput",
"labelKey": "panels.bar.behavior-middle-click-follow-mouse-label",
"descriptionKey": "panels.bar.behavior-middle-click-follow-mouse-description",
"widget": "NToggle",
"tab": 4,
"tabLabel": "panels.bar.title",
"subTab": 2,
@@ -414,18 +414,18 @@
"subTabLabel": "common.behavior"
},
{
"labelKey": "panels.bar.behavior-right-click-follow-mouse-label",
"descriptionKey": "panels.bar.behavior-right-click-follow-mouse-description",
"widget": "NToggle",
"labelKey": "panels.bar.behavior-right-click-command-label",
"descriptionKey": "panels.bar.behavior-right-click-command-description",
"widget": "NTextInput",
"tab": 4,
"tabLabel": "panels.bar.title",
"subTab": 2,
"subTabLabel": "common.behavior"
},
{
"labelKey": "panels.bar.behavior-right-click-command-label",
"descriptionKey": "panels.bar.behavior-right-click-command-description",
"widget": "NTextInput",
"labelKey": "panels.bar.behavior-right-click-follow-mouse-label",
"descriptionKey": "panels.bar.behavior-right-click-follow-mouse-description",
"widget": "NToggle",
"tab": 4,
"tabLabel": "panels.bar.title",
"subTab": 2,
+1 -1
View File
@@ -9,7 +9,7 @@ Rectangle {
required property int orientation // Qt.Vertical || Qt.Horizontal
required property real ratio // 0..1
radius: width / 2
radius: orientation === Qt.Vertical ? width / 2 : height / 2
color: Color.mOutline
property color fillColor: Color.mPrimary