mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 00:34:26 +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 {
|
||||
indicator: Rectangle {
|
||||
id: box
|
||||
y: (checkBox.height - height) / 2
|
||||
width: boxSize
|
||||
height: boxSize
|
||||
radius: boxRadius
|
||||
|
@ -101,8 +102,8 @@ Original.CheckBox {
|
|||
}
|
||||
|
||||
label: Label {
|
||||
text: control.text
|
||||
color: control.color
|
||||
text: checkBox.text
|
||||
color: checkBox.color
|
||||
x: 2
|
||||
wrapMode: checkBox.wrap ? Text.Wrap : Text.NoWrap
|
||||
elide: checkBox.wrap ? Text.ElideNone : Text.ElideRight
|
||||
|
|
Loading…
Reference in a new issue