Stan
03/21/2023, 10:32 PMAn exact clone of the TabStrip View example is nested in a custom container in my top-leval MainView.
I want TabStrip to re-position (x-pos) itself when I re-size the display, but it will only do so after refreshing
the browser page.
The demo tabstrip re-positions itself when I re-size the display. How can force my nested TabStrip's `boundsChanged`
event be triggered from my MainView's render function? The container: <https://github.com/ghubstan/doodle/blob/a5ca9b3169ded696c9af90a3b3b3a3df97a4f525/Natty/src/commonMain/kotlin/io/dongxi/natty/view/MainView.kt#L44>
ayodele
03/21/2023, 10:42 PMNick
03/22/2023, 1:13 AMDisplay
would let you reposition/resize your MainView
when the display changes size. you could also add a layout to MainView
(like you have for mainContainer
) that would position/size mainContainer
as the MainView
changes bounds. in general you don’t need to explicitly use boundsChanged
to do layout stuff. just install layouts at the levels you want to manage.Stan
03/22/2023, 1:57 PM