You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an API to move widgets beyond Widget.move_child? Or a way to "share" it (show in several places)?
I currently have this situation: There's an application-wide log that I want to display using RichLog. I can easily show the log on one screen. But I want to give the user to change to a sub-screen with a different layout.
I tried having it as a global and yielding it from multiple places, but that breaks layout and styling. If I instead remove it from it's old place in on_mount and mount it in its new place, styling and layout works as expected, but the widget is broken (specifically, it does not properly update anymore, and scrollbars do not appear).
I'm probably overlooking some ergonomic way to solve this instead of moving widgets in the DOM, do you have any suggestions?
The text was updated successfully, but these errors were encountered:
Is there an API to move widgets beyond
Widget.move_child
? Or a way to "share" it (show in several places)?I currently have this situation: There's an application-wide log that I want to display using
RichLog
. I can easily show the log on one screen. But I want to give the user to change to a sub-screen with a different layout.I tried having it as a global and yielding it from multiple places, but that breaks layout and styling. If I instead remove it from it's old place in
on_mount
andmount
it in its new place, styling and layout works as expected, but the widget is broken (specifically, it does not properly update anymore, and scrollbars do not appear).I'm probably overlooking some ergonomic way to solve this instead of moving widgets in the DOM, do you have any suggestions?
The text was updated successfully, but these errors were encountered: