Menu Font Size
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Menu Font Size
Hi
I'm using version 3.25.2.0 running on Ubuntu 18.10.
My problem is that the menu fonts are extremely small. I can use QCAD on my laptop screen (13") but if I move the QCAD session to the 30" attached monitor the menu fonts are unreadable.
How do I change the font size ? Screen shots attached below
Thanks
David
I'm using version 3.25.2.0 running on Ubuntu 18.10.
My problem is that the menu fonts are extremely small. I can use QCAD on my laptop screen (13") but if I move the QCAD session to the 30" attached monitor the menu fonts are unreadable.
How do I change the font size ? Screen shots attached below
Thanks
David
Re: Menu Font Size
I've just been poking around the install directory and found the file opt/qcad-3.25.2-pro-linux-x86_64/qcad
This file contains the lines
If I comment it out, QCAD won't start. If I increase it to 2 there is no difference. If I set it to 0 then the menu font is fine but the toolbars are unusably small.
Am I looking in the right place to fix the problem ?
This file contains the lines
Code: Select all
# breaks on some systems:
# disable if QCAD renders too large
QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"
Am I looking in the right place to fix the problem ?
Re: Menu Font Size
and changing it to
Makes the UI scale OK on the large external screen but the menu small (and largely non functional i.e. menu can be clicked but does not show the child items on some menus, others have huge amounts of blank space before sub items etc)
Am I on the right track ?
Code: Select all
QT_SCALE_FACTOR=1.5 QT_AUTO_SCREEN_SCALE_FACTOR=1 LD_LIBRARY_PATH="$DIR" "$binary" "$@"
Am I on the right track ?
Re: Menu Font Size
Changing it to
Fixes the UI problems (all the widgets appear at the right size), and the menu fonts can be read but only a few of the menu items contain sub items when clicked.
So still looking for a solution here.
Code: Select all
QT_FONT_DPI=96 QT_SCALE_FACTOR=2 LD_LIBRARY_PATH="$DIR" "$binary" "$@"
So still looking for a solution here.
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
You can change the menu font size at Edit>Application Preferences>Widgets>Menu Bar. You'll get a message saying you have to restart, but I've found that's not necessary.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: Menu Font Size
What's about scaling the User Interface?
Used scale factor = 1
Used scale factor = 2
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Menu Font Size
Can you not do this for the tool matrix?
Also, can you change the font type for the menu bar / tool matrix?
Thanks
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
No, not using Qcad settings, but you can by using my Qcad Theme Designer - https://www.qcad.org/rsforum/viewtopic. ... 493#p40493 - enable Font Overrides, the menu bar and items are on Fonts 1 tab and Tool Matrix is on Fonts 2 tab.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: Menu Font Size
Hi, I tried theme designer today, enabled font override and checked BOLD everywhere in all tabs, but the tool matrix item names still remain the same, e.g. they are not bold. Are these item's font properties unchangable?petevick wrote: ↑Wed Jun 21, 2023 6:30 amNo, not using Qcad settings, but you can by using my Qcad Theme Designer - https://www.qcad.org/rsforum/viewtopic. ... 493#p40493 - enable Font Overrides, the menu bar and items are on Fonts 1 tab and Tool Matrix is on Fonts 2 tab.
https://postimg.cc/wy8mmQTS
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
Are you sure that you have the Bold check box ticked for Tool Matrix on the Fonts 2 tab..... ....as it definitely works.....bob93 wrote: ↑Thu Oct 05, 2023 1:16 amHi, I tried theme designer today, enabled font override and checked BOLD everywhere in all tabs, but the tool matrix item names still remain the same, e.g. they are not bold. Are these item's font properties unchangable?
https://postimg.cc/wy8mmQTS
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: Menu Font Size
Absolutely. Notice that my tool matrix is set to list view. The category names such as Point did change to bold, but the item names such as Single Point PO didn't change to bold
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
I'm sorry, I misread your post, I was unable to find a way to change the items in the Tool Matrix.
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
@bob93 - I've finally found out how to change the Tool matrix list view item text (they are actually tool buttons). You can add the following to blank line 436 in your stylesheet.css file (make sure no extra lines are added)....
You can change the font height and style to suit yourself, font-weight can be Normal or Bold, font-style can be Normal or Italic.
Code: Select all
QTreeView#ToolMatrix QToolButton {font-size: 10pt; font-weight: Bold; font-style: Normal;
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Menu Font Size
This is now included in the latest version of Qcad Theme Designer - https://www.qcad.org/rsforum/viewtopic. ... =15#p42958
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: Menu Font Size
I only now see this, but I don't quite understand. Line 436 of my stylesheet.css file is not empty. This is what the file says from line 434:petevick wrote: ↑Mon Nov 13, 2023 8:37 pmYou can add the following to blank line 436 in your stylesheet.css file (make sure no extra lines are added)....
You can change the font height and style to suit yourself, font-weight can be Normal or Bold, font-style can be Normal or Italic.Code: Select all
QTreeView#ToolMatrix QToolButton {font-size: 10pt; font-weight: Bold; font-style: Normal;
Code: Select all
QScrollBar::sub-line:horizontal
{
width: 18px;
subcontrol-position: left;
subcontrol-origin: margin;
}