dolphinsmalltalk / Dolphin

Dolphin Smalltalk Core Image
MIT License
301 stars 58 forks source link

Fix 1178: Make buttons auto-resizable to fit text and use for mode switch #1180

Closed blairmcg closed 1 year ago

blairmcg commented 1 year ago

This addresses sensible enhancement request #1178, but by making the mode radio buttons resize to fit the text. I was rather surprised they didn't do that already, so I implemented it generally. Then went into all the relevant browser views and changed the usePreferredExtent property on the check boxes to true. They were already contained in a parent with a flow layout. Now when the default font is changed, they won't get clipped until there is insufficient horizontal space to display them, wrapping to two lines if needed.