Scrollable interface?

is it possible to create a scrollable interface in blender UI ?

this code below is an example on how such a thing could be implemented in the api ?

    ... ui code ...
    box_scroll= layout.box()
    for i in range(999) :
        box_scroll.label(text=str(i))
        box_scroll.scale_y = 15 #fixed y size in the ui 

that the box have a fixed size with a scrolling ability ?
does that exist in blender ? i don’t remember scouting this in the api

something more simple than an UI list. as Ui list require collection or group properties that need to be constantly updated when this list change. the code need to stay procedural.
UI list workflow as i understood it is really really destructive… (Creating an UI list procedurally?)

1 Like