mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
nlineargauge: tweaking for vertical vs horizontal
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user