#185 setFont did not work on QFontDialog

unstable
open
nobody
None
2012-03-27
2012-03-27
discus-axel
No

If I try to change the font properties of a QFontDialog by using setFont method nothing happens under Android. Here is my code that do work under Qt/X11 without any problems.

QFontDialog fd( this );
QFont ft = font();
ft.setPointSize(10);
fd.setFont(ft);
fd.setVisible(true);

If the default font size is too big, the buttons of the QFontDialog are not more visible. Furthermore it seems, that font changes set on a parent are not propagate from parent to child widgets.

Discussion


Log in to post a comment.