[PyQt] flowlayout example and labels
sebastianelsner at freenet.de
Fri Aug 1 18:25:49 BST 2014
replacing a button in the flowlayout example with a label produces some
unexpected results: the label is not vertically centred as it would be
with a simple hboxlayout (see image attached). I have tried to offset
the label by adding QSize to its geometry, setting the size policy to
expanding and setting the alignment to centered. But nothing did help.
What am I missing?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8931 bytes
Desc: not available
More information about the PyQt