From kde-commits Thu Sep 11 09:41:56 2003 From: Waldo Bastian Date: Thu, 11 Sep 2003 09:41:56 +0000 To: kde-commits Subject: Re: kdelibs/kutils X-MARC-Message: https://marc.info/?l=kde-commits&m=106327320712166 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 September 2003 21:44, Martijn Klingens wrote: > On Wednesday 10 September 2003 19:00, Martijn Klingens wrote: > > > I havn't looked into the size of the dialog much, yet. I'm pretty sure > > > the size of the dialog depends on the KCMs it embedds, so if you have > > > one big KCM the dialog will be just big enough to fully show that > > > widget (hmm, but only after the KCM got loaded...). > > > > No, the window doesn't resize, this resizes the splitter as much as > > possible, but it never resizes the window. Maybe the dialog has a fixed > > size set? I'll see if I can find something after dinner. > > I give up on this one. After reading and rereading the code of > KCMultiDialog, KDialogBase and all other parent classes I fail to see why > the dialog doesn't grow if the sizeHint() increases. > > Help welcome :) Yeah, it did cost me a few years to figure that stuff out as well. You need to call updateGeometry() as well, and then you may also need to call adjustSize() on the parent widget. Cheers, Waldo - -- bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/YENkN4pvrENfboIRAg8PAJsF8kC28yEswh8YSWCzX24CWgZxgQCgoiZ9 hM72W1JNzuZDOM1U9/uUYq8= =+RVo -----END PGP SIGNATURE-----