Skip to content
Discussion options

You must be logged in to vote

Give a name to the text and use a binding from the out property rather than the other way.
eg:

in-out property <length> offset_x: -10px;
out property <length> out_width: text.width;  // or <=> text.width

text := Text {
   x: offset_x;
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JanDiederich
Comment options

Answer selected by JanDiederich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants