littlektframework / littlekt

A multiplatform WebGPU 2D game framework written in Kotlin. Build your own game engine on top.
https://littlekt.com
Apache License 2.0
321 stars 12 forks source link

UI: Add Theme propagation #68

Closed LeHaine closed 2 years ago

LeHaine commented 2 years ago

If a theme changes on Control, then that theme needs to propagate down throughout the child Control nodes to update their sizes, due to Drawable components in the theme most likely having different sizes.