SWT being weird... I've got a GridLayout containing an ExpandBar and a StyledText. When the expand item is toggled, I recalculate the size of the ExpandBar. This somehow shrinks the StyledText to a single line that can hold like ten characters.
Why???
#Java #SWT Oh. I should be calling
requestLayout() rather than
pack(). That explains it!
#Java #SWT