Actions
Bug #4184
closedsetSize for WFont bugged
Start date:
06/18/2015
Due date:
% Done:
0%
Estimated time:
Description
If the family for the font (in WFont) is not specified (e.g. new WFont()), setSize() does not work.
Tested for the (WPainter) painter.setFont().
//Doesnt work
WFont font = new WFont();
font.setSize(new WLength(25)); //(Doesnt work)
painter.setFont(font);
//Works
WFont font = new WFont(GenericFamily.Monospace);
font.setSize(new WLength(25));
painter.setFont(font);
Updated by Benoit Daccache about 9 years ago
- Assignee set to Benoit Daccache
- Target version set to 3.3.5
Actions