Hello

I've run into what looks like a bug in PyQt. When changing the font of a
QLabel at runtime, it doesn't update its appearance unless I call its
update() method. I've verified that this problem doesn't occur when using Qt
directly from C++. Even after calling update(), something isn't right
however, as the containing QGridLayout isn't adjusted to account for the
label's changed dimensions.

The attached program showcases the problem. Uncomment line 20 to see the
layout problem.

Arve

Attachment: test.py
Description: Binary data

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to