[kcm/kwinrules] Extend upper limit of position and size spinners

Currently, the spinners used to edit position and size rules have an upper
limit of 4098, which may be not enough for wide/hdpi/mutiple screens.

The property itself has no such limit in the `.kcfg` schema
This is just an issue with the editor.

BUG: 421892
FIXED-IN: 5.19
This commit is contained in:
Ismael Asensio 2020-05-22 15:50:35 +02:00
parent 621b2e1cde
commit 91eee99fca

View file

@ -165,7 +165,7 @@ Loader {
Layout.preferredWidth: 50 // 50%
Layout.fillWidth: true
from: 0
to: 4098
to: 32767
value: (controlType == RuleItem.Size) ? ruleValue.width : ruleValue.x
}
QQC2.Label {
@ -178,7 +178,7 @@ Loader {
id: coordY
editable: true
from: 0
to: 4098
to: 32767
Layout.preferredWidth: 50 // 50%
Layout.fillWidth: true
value: (controlType == RuleItem.Size) ? ruleValue.height : ruleValue.y