award Ok, get_string_size works great but I'm struggling with getting the button width, or getting the size of any of my Control nodes for that matter.
None of them have set sizes, instead they're in containers with the Fill flags so they change dynamically when I resize the parent.
I'm trying every vaguely size-related function/property from the docs but I can't find it 😬 In Remote I can see the display size so clearly it's saved somewhere

// returns only the minimum content width (81x27 px), not the full width:
GD.Print("S:" + control.Size);
GD.Print("S:" + control.GetRect().Size);
GD.Print("S:" + control.GetGlobalRect().Size);
// returns 0 (I'm guessing this would only return something if I had set anchors, and not a fill flag):
GD.Print("S:" + control.OffsetLeft);
GD.Print("S:" + control.OffsetRight);
GD.Print("S:" + control.AnchorLeft);
GD.Print("S:" + control.AnchorRight);
GD.Print("S:" + control.PivotOffset);
Or do I need to calculate it myself from (the parent container's size) - (separation * number of children) - (sizes of all the other children that don't have fill flags)?