KColorPicker and other plasmoids

Riccardo Iaconelli riccardo at kde.org
Wed Jun 18 17:16:06 CEST 2008


Il Wednesday 18 June 2008 16:06:36 Anne-Marie Mahfouf ha scritto:
> On Wednesday 18 June 2008 03:38:03 pm Toussis Manolis wrote:
> > I already send him an email. thanks for your time.
>
> I am investigating this further by doing some test cases and will report to
> the list.
>
> So far it seems that 2 Plasma::PushButton don't layout nicely while 2
> Plasma::Label do.
> Another thing about the Kolour Picker is that the circle on the bottom
> button (the circle has the latest picked color)  seems to have disappeared
> when the change QPushButton ->K was done.
>
> So if anyone wants to help, you can start confirming this and then finding
> out why PushButtons do not layout.

For my applet, I had to run the following code each time I added or removed an 
applet from the layout, to make the widgets not go outside of the applet, or 
anyways to get a correct layouting behiavour:

    updateGeometry();
    resize(sizeHint(Qt::PreferredSize));
    setMinimumSize(sizeHint(Qt::MinimumSize));

I put this in a function. The fact that we have to do that is pretty bad 
though. :-(

Bye,
-Riccardo
-- 
GPG key:
3D0F6376
When encrypting, please encrypt also for this subkey:
9EBD7FE1
-----
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch שלום
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py'guapy 평화


More information about the Panel-devel mailing list