Hello, could someone please explain how to adjust the font size for tooltips in the python console( if it's possible to do this)?
It's too tiny to read on my 4k monitor.
mannycrafts wrote: ↑Mon Oct 10, 2022 4:26 am
Hello, could someone please explain how to adjust the font size for tooltips in the python console( if it's possible to do this)?
It's too tiny to read on my 4k monitor.
It's not a proper fix but that's another story, I just added a line font: 12pt; to the QTootip section of my stylesheet as per:
mannycrafts wrote: ↑Mon Oct 10, 2022 4:26 am
Hello, could someone please explain how to adjust the font size for tooltips in the python console( if it's possible to do this)?
It's too tiny to read on my 4k monitor.
It's not a proper fix but that's another story, I just added a line font: 12pt; to the QTootip section of my stylesheet as per:
/*==================================================================================================
Tooltip
==================================================================================================*/
QToolTip {
color: #1e1e1e;
background-color: #b4b4b4;
/*opacity: 90%; doesn't correctly work */
padding: 4px;
border-radius: 3px; /* has no effect */
font: 12pt;
}
I've attached a zip of my stylesheet which probably isn't to your taste if you just wanted to swap it to try.
Thanks for solution @Syres ! I looked to https://wiki.freecadweb.org/Interface_C ... ion#Themes for guidance on how to use your modified theme, but am stuck on how to apply the styles. Could you please explain how to use them, or point me to documentation if any exists?
Adding the snippet in the supposed stylesheet directory on a my Mac didn't seem to work.
Attachments
freecad-stylesheet-location-mac.jpg (115.6 KiB) Viewed 1978 times
mannycrafts wrote: ↑Tue Oct 11, 2022 12:32 am
I looked to https://wiki.freecadweb.org/Interface_C ... ion#Themes for guidance on how to use your modified theme, but am stuck on how to apply the styles. Could you please explain how to use them, or point me to documentation if any exists?
Adding the snippet in the supposed stylesheet directory on a my Mac didn't seem to work.
The best I can do is point you to the Qt docs https://doc.qt.io/qt-5/stylesheet-examples.html, I'm not an expert on stylesheets, I just change one thing at a time until I can get what I want based on the nearest available qss to my needs.
When you type the "point" and wait some "milliseconds" you will see the "possible completions" and if you select one of them you will see even an help message, and at least on my Linux install, you could use the arrow key to move up and down the list that appear and show the "help message" that are usually "docstrings" or "code comments" present in source code.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.