On Wed, 23 Oct 2019 at 18:49, Elvis Stansvik <[email protected]> wrote:
>
> Den ons 23 okt. 2019 16:29Henry Skoglund <[email protected]> skrev:
>>
>> Hi,
>>
>> I use Qt Creator's excellent Form Editor, however sometimes I've noticed an 
>> inconsistency in the font settings, because I'm lazy I usually only set the 
>> font property for the top MainWindow and relying on it to "trickle down" and 
>> affect the widgets as well. Except sometimes it doesn't trickle down :-( So 
>> I wrote a test app, just a main.cpp:
>
>
> I don't want to be that person who always asks "why are you even doing this", 
> but.. Why are you even doing this? :p
>
> Changing the font is normally not recommended. I think the best practice is 
> to let the font remain as the platform plugin decided, so that the user's 
> choice of font is respected.

And if the user changes their choice, should it be possible to reflect
that dynamically on a running application? I have no trouble coming up
with dozens of use cases where you want to change the font of an
application, or a part of its widget hierarchy.
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to