RibbonSpinBox: Fix issue where text may be obscured.
Insufficient padding on the left side of LineEdit can cause text to be obscured by icons.
This commit is contained in:
parent
c6dd08cc92
commit
b17ad7f434
|
@ -45,8 +45,8 @@ SpinBox {
|
||||||
|
|
||||||
topPadding: 2
|
topPadding: 2
|
||||||
bottomPadding: 2
|
bottomPadding: 2
|
||||||
leftPadding: 10 + icon.visible ? icon.contentWidth + padding*2 : 0
|
leftPadding: icon.visible ? icon.contentWidth + padding*2 : 10
|
||||||
rightPadding: (10 + clear_btn.visible ? clear_btn.width + padding*2 : 0) + up.indicator.width
|
rightPadding: (clear_btn.visible ? clear_btn.width + padding*2 : 10) + up.indicator.width
|
||||||
|
|
||||||
readOnly: !control.editable
|
readOnly: !control.editable
|
||||||
validator: control.validator
|
validator: control.validator
|
||||||
|
|
Loading…
Reference in New Issue