Dynamically change font size of QLabel to fit available space

前端 未结 3 443
忘了有多久
忘了有多久 2021-01-15 13:20

I\'m trying to make an horizontal layout with 3 QLabel scale use all its available space. More specifically, this is what I have

this is what I

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-15 13:57

    After struggling with this issue, I create DynamicFontSizeLabel and DynamicFontSizePushButton widgets. Hope it helps.

    https://github.com/jonaias/DynamicFontSizeWidgets/

提交回复
热议问题