-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
Describe the bug
My application has defines fonts using pixel size instead of point size. When I change the font size using the menu actions I get an error similar to the one below:
QFont::setPointSizeF: Point size <= 0 (-0.000000), must be greater than 0
Steps to reproduce
- Use a stylesheet for the app that defines a
font-sizeas a pixel size:
font-size: 12px - Attempt to increase/decrease/reset the font size (
Ctrl+=/Ctrl+-/Ctrl-0) - Notice the errors printed to terminal
Expected behavior
The font should change and there should be no errors printed to terminal.
Operating System.
Linux
OS Version Details.
No response
Python Version
Python 3.12.11
Packages Version
PyDM: 1.27.1
Additional context.
No response