PDA

View Full Version : Font size according to the resolution



pssss
2nd September 2011, 10:07
Unlike in web CSS, Qt doesn't allow the use of percentages for font size. I really need this because I've tested my program on much bigger resolutions and I need to fill the space available. I know you can do this with layouts to adjust the widgets but I need the font to be bigger too.


Can anyone please tell me what the best way to do this would be? Reimplementing resize event and work from there?


Thanks.