Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Font issues with qt5.3.0 with qnx6.6.0: (5 Items)
   
Font issues with qt5.3.0 with qnx6.6.0  
I have a test application with a button that just opens a file dialog.
all the fonts that get loaded are really small.
how do i fix this?

i have attached a picture of my start up script
and a copy of what it looks like running.



Attachment: Image filedialog.png 223.23 KB Image script.png 11.58 KB
Re: Font issues with qt5.3.0 with qnx6.6.0  
You should be able to adjust the font for the widget containing the text by clicking on the "stylesheet" property in 
Creator.
Re: Font issues with qt5.3.0 with qnx6.6.0  
i manually adjusted the properties of the text box and button on my main window.

i tried to modify the stylesheet for the filedialog box but it doesn't do anything.
Attachment: Image filewindow.png 218.6 KB Image mainwindow.png 222.73 KB
Re: Font issues with qt5.3.0 with qnx6.6.0  
In your script, the setting for the screen size is wrong. It's for a reason that it is called "physical" screen size. 
You should not enter the resolution, but the screen dimensions in millimeters. Not sure what Qt does with it, but it 
absolutely does influence the sizes of fonts being rendered!
Re: Font issues with qt5.3.0 with qnx6.6.0  
thanks. you are correct i have to set the physical screen dimension not the resolution of the screen.
the letters are now readable.