mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 13:24:02 +02:00
Set Y pos for indicator explicetly
This commit is contained in:
parent
8856d4af4f
commit
12a70d57c2
1 changed files with 3 additions and 2 deletions
|
@ -42,6 +42,7 @@ Original.CheckBox {
|
||||||
style: CheckBoxStyle {
|
style: CheckBoxStyle {
|
||||||
indicator: Rectangle {
|
indicator: Rectangle {
|
||||||
id: box
|
id: box
|
||||||
|
y: (checkBox.height - height) / 2
|
||||||
width: boxSize
|
width: boxSize
|
||||||
height: boxSize
|
height: boxSize
|
||||||
radius: boxRadius
|
radius: boxRadius
|
||||||
|
@ -101,8 +102,8 @@ Original.CheckBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
label: Label {
|
label: Label {
|
||||||
text: control.text
|
text: checkBox.text
|
||||||
color: control.color
|
color: checkBox.color
|
||||||
x: 2
|
x: 2
|
||||||
wrapMode: checkBox.wrap ? Text.Wrap : Text.NoWrap
|
wrapMode: checkBox.wrap ? Text.Wrap : Text.NoWrap
|
||||||
elide: checkBox.wrap ? Text.ElideNone : Text.ElideRight
|
elide: checkBox.wrap ? Text.ElideNone : Text.ElideRight
|
||||||
|
|
Loading…
Reference in a new issue