Label request


Simple one…

Can we have the ability to specify the minimum font width (squish) used in Label? I’d rather not have to copy/paste/hack such a big chunk of code just for this! [I’m using labels in a Listbox, with fixed-width font, and it just looks horrible when the contents of some rows are squashed].

Right now it just uses the default value in drawFittedText.


No problem, I’ll throw something in to do that.


While you’re at it, why not just put the drawing of the Label into the LookAndFeel class?
That would give the programmer the possibility to add its own rendering (for instance to get rid of the drawFittedText() which I don’t like at all, always looks bad).


Yes, it definitely belongs in the L+F. I’ll change that.