On 12/11/20 8:47 pm, Florian Bruhin wrote:
On Thu, Nov 12, 2020 at 12:37:33AM +0000, Hamish Moffatt wrote:
On 12/11/20 2:46 am, Thiago Macieira wrote:
NEVER calculate font sizes in pixels. Your design is wrong. Delete this
function and use point sizes throughout.
Too bad the Qt Widget stylesheet function only supports point sizes for
fonts.
Not sure what makes you think so:
https://doc.qt.io/qt-5/stylesheet-reference.html#font-prop
"The font size. In this version of Qt, only pt and px metrics are
supported."

What I meant was ONLY font sizes can be specified in points. Other dimensions (max-height for example) can't be specified in pt.


Hamish

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to