Conversation
|
Hey, thanks for your PR! I like the idea of conditional rendering via composable widgets. However, I'm not quite sure how your While thinking about your code I also found some possible simplifications for the existing |
7c0a538 to
a178c7f
Compare
|
I've rebased off your master branch, and added an example based roughly on the sort of thing that I'm using Polycore for. I've not yet looked at the code to see whether it needs some changes relating to your changes to dealing with children widgets in layout methods. |
This wraps an existing widget, but allows for the wrapped widget to be swapped out for another (or even removed).
a178c7f to
842306c
Compare
|
I've updated my merge request, as the setting of background colours wasn't working initially after I rebased. |
This wraps an existing widget, but allows for the wrapped widget to be swapped out for another (or even removed).