Hello.
I’m offering 50$ for the one who can propose me a solution for my problem.
Problem example:
... ui code ...
box= layout.box()
for i in range(999) :
box.label(text=str(i))
let say that i want my 99 lines of label inside of this box to be scrollable what am i supposed to do ?
The solution need to be non-destructive so that cases like the second example below can be resolved with the same kind of proceduralism within the code.
Problem example:
...ui code...
A = bpy.context.object
box= layout.box()
for m in A.modifiers:
if m.type == 'DISPLACE':
box.label(text=m.name)
in this example, it’s much more complex, as the assets present in the future scrollable list are constantly changing, either when the user add a modifier, remove one, or change the selection.
So in the case above using an UI list will be totally destructive to use because , as i understood, ui lists need Group Properties and Collection Properties, and those will need be constantly updated. needing handlers and timers for automatically updating the list every god dmn time.
imo this is a really bad solution, blender is forcing us to do an extra step which is this annoying Collection properties.
So here’s my question:
How to create a Non-desctructive Scrollable interface in blender
related :
https://blender.stackexchange.com/questions/158213/scrollable-interface