Expandable static text widget

But in trying to do it, I see I don’t get how sizer.GetSize() works. E.g.

(Sorry that should have been removed, as I figured it out en route. The
code I put worked for me if the indenting is made right in the 2nd def)