[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Mandelbrot progress, need Qt GUI help!
From: "Aaron J. Seigo" <aseigo () kde ! org>
Date: 2009-04-10 6:03:10
Message-ID: 200904100003.14391.aseigo () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Thursday 09 April 2009, Benoit Jacob wrote:
> Hi,
>
> one more GUI question please!
>
> When I resize the Desktop Settings dialog horizontally, I'd expect the
> Mandelbrot controls to resize automatically to use the extra space.
> That's what happens with the Pattern wallpaper's controls. But I can't
> seem to obtain this behavior. I tried to mimic Pattern everywhere I
> could see, like setting the sizes to MinimumExpanding, but still no
> luck... any ideas?
it's because you didn't put a layout in the widget itself. to do so in
designer:
* click on the background
* select a layout from the toolbar
this is equivalent to:
QWidget *topLevelWidget = new QWidget(this);
QGridLayout *layout = new QGridLayout(topLevelWidget); // or whatever kind of
layout you want
layout->addWidget(..);
i've modified and committed your .ui file so that it fits the PIG (plasma
interface guidelines).. enjoy :)
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Software
["signature.asc" (application/pgp-signature)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic