PDA

View Full Version : Problems with text height in QLabel in windows



Braunstein
6th August 2012, 13:20
Hi,

I have some QLabels which are displayed at a widget. It looks normally fine. Unfortunatly it is possible to scale the fonts in windows.
I work normally with 100% font size. If i test the same program with 125% the lables doesn't scale correctly the height. Som at the bottom is clipped as you can see in the pictures below.
81008101
May somebody know a solution for this problem?

Thanks
Heiko

Lesiok
6th August 2012, 15:53
I don't think that a problem is a font scaling. Show us definition of this panel (min/max sizes, layoouts etc).

Braunstein
7th August 2012, 07:43
You be right. The problem was in the size settings of the parent widget (maximum height was set). Really stupid thing.

Thanks
Heiko