QTDragon_HD Pi4 font size

More
31 Mar 2023 23:29 #267997 by chernogorsky
QTDragon_HD Pi4 font size was created by chernogorsky
Hi,
Not sure if its QTD or Pi4 issue,
but I have quite a large font when I ran lcnc
have tried display resolutioin, apperance settings with no luck. it changes system menus, but not lcnc
 
Attachments:

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 01:11 #268003 by cmorley
Replied by cmorley on topic QTDragon_HD Pi4 font size
probably the style sheet.
press F12 to see the style sheet editor

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 02:19 #268005 by chernogorsky
Replied by chernogorsky on topic QTDragon_HD Pi4 font size
I saw it, but dont understood what to change there ?
Any points to start from ?

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 02:24 #268006 by cmorley
Replied by cmorley on topic QTDragon_HD Pi4 font size
linuxcnc.org/docs/2.9/html/gui/qtdragon.html#_stylesheets

gives a hint. Look for 'font:'
'pt' stands for the size

this is size 25 style lato heavy:
font: 25pt "Lato Heavy";
The following user(s) said Thank You: chernogorsky

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 19:26 #268031 by chernogorsky
Replied by chernogorsky on topic QTDragon_HD Pi4 font size
Check the whole style,
the only huge font (20pt) is
DROLabel,
QLabel#label_axis_x,
QLabel#label_axis_y,
QLabel#label_axis_z,
QLabel#label_axis_a
rest is 10 an below

for 1980x1080 10 should be rathe small (
So I think its more to pi4 itself than qtdragon, but I cant figure that owt

Please Log in or Create an account to join the conversation.

More
01 Apr 2023 20:09 #268035 by chernogorsky
Replied by chernogorsky on topic QTDragon_HD Pi4 font size
Have found that if I add
export QT_SCALE_FACTOR=1
or QT_SCALE_FACTOR=1 before running lcnc it looks as it should be
have check defaults

Please Log in or Create an account to join the conversation.

More
02 Apr 2023 02:44 #268048 by cmorley
Replied by cmorley on topic QTDragon_HD Pi4 font size
Excellent. I have not heard of that setting. Do you have a link with info?

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum