M1 Pro MBP 32/1T Tahoe 26.2 / Cabbage version:2.9.0
Playing around with plants in an effort to manage my widgets and am seeing some unexpected behavior. In the attached demo I have two sets of identical controls in different groupboxes that I want to manage. When I wrap the {} around each groupbox, the widgets in the second groupbox disappear. Sometimes a widget in the first groupbox gets displaced a bit. Am I missing something? Thanks!
Cabbage Plant bug demo.csd (3.8 KB)
It’s a while since I looked at Cabbage 2 code, this took me a minute. The bounds for widgets in a plant should all be relative to its parent. In your case your widgets are actually appearing to the very right of your plant. You inner widgets should all have x,y coordinates that are within the bounds of their parent. 
1 Like
Ah, I think I get it, so simply wrapping widgets in angle brackets won’t reset their x.y from what they were originally – it just happens to work for the first example because the x,y were already inside the bounds of the parent. Thanks!
1 Like