Multiline QLabels + Layouts == b0rkage

October 21st 2004 10:18 am

I was wondering if anyone reading this happened to know why having a
multiline QLabel in a layout causes the layout to completely break? For
example, let’s say you’re creating a widget in Designer. Add a label, make
the text nice and long, and make sure the format is set to RichText so that
it actually takes up multiple lines. Then add something else, like a text
edit widget, and lay them out however. When you preview the form, you’ll be
able to resize it much, much smaller than should be possible. Change the text
in the label to something short, and you won’t have that problem.

It has me completely stumped, and even if Trolltech were to fix this with
the next version of Qt, there’s still a lot of people using older versions
that I don’t want to leave out. Spelling correction (06:18 EST)

If you happen to know, please mail me at michael.pyne@kdemail.net.
Otherwise I’ll probably e-mail kde-devel or qt-interest.

Posted by mpyne under Uncategorized |

Trackback URI | Comments RSS

Leave a Reply