Replies: 1 comment
-
For my understanding it is not possible. I have the feeling it might be in the future, if it won't i really don't understand the meaning of the Loop-Reapeated component id. Edit: I think it was to obvious, you might want to have spaces not equals ( :` solution not related then
~~slint
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try to write a slint gui that does some custom layouting, until know I have this code (the position computations are more complicated, but the relevant thing is that they depend on the previous elements):
An this does in principle work as intended, but this allows only to have a compile-time fixed number of elements in the layout, but what I need is a dynamic number of elements.
So something like this (which does not work) is desired:
Does anybody know how to access repeated elements in such a way?
I do not ask this as a feature request, because you can already give repeated elements a name, so I assume that there is a possibility to do things like this.
Beta Was this translation helpful? Give feedback.
All reactions