How to make widgets autoresizable?

Eggert Ehmke eggert.ehmke at berlin.de
Sun Dec 15 10:27:17 GMT 2002


On Sunday 15 December 2002 10:23, you wrote:

> is it possible to make QT-Widgets autoresizable, like in GTK?
> GTK-Widgets have the great advantage that they calculate their needed size
> depending on font size, theme, etc. So texts in labels are never cut.
> In QT it is like in Windows and I don't like this behavior, because it
> always makes problems...

You need to put your widgets into a layout. If you use designer, look for the 
horizontal, vertical and grid layout. Look into the doc of QLayout and 
related classes. They do all you want, and more.

Eggert

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list