KColorPicker and other plasmoids
Loïc Marteau
loic.marteau at gmail.com
Thu Jun 19 21:37:49 CEST 2008
Hey !
I've posted a patch on the review board to deal with this
http://reviewboard.vidsolbach.de/r/61/
the key is to redefine sizePolicy for the KPushButton inside the
Plasma:PushButton to don't let him have a minimum size.
Is it ok to commit ?
Cheers
On Wed, Jun 18, 2008 at 5:16 PM, Riccardo Iaconelli <riccardo at kde.org>
wrote:
> 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 평화
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20080619/665633e4/attachment.html
More information about the Panel-devel
mailing list