Small-Loan-Studio / TGO

0 stars 0 forks source link

Scroll container for the addon #73

Closed this-is-envy closed 1 month ago

this-is-envy commented 1 month ago

Currently if the object detail customizations get too long it'll overflow and become unusable until you resize the parent pane.

In theory we should be able to "just" throw this into a ScrollContainer and have it work but it doesn't seem to update scroll state (current vs actual height) when its children change. Task here is to figure out how to make it work and then do that.

this-is-envy commented 1 month ago

Got this working -- scroll containers use custom_minimum_size or another container to determine sizing. I had previously been trying to use a control as a child instead of a container (and I was nesting the wrong item anyway). Did some futzing and have a branch envy-scrollable with a partial/unreviewed solution.

Can't merge rn because we have too much in flight on the addon but soooon