Hey !<br><br>I&#39;ve posted a patch on the review board to deal with this<br><a href="http://reviewboard.vidsolbach.de/r/61/">http://reviewboard.vidsolbach.de/r/61/</a><br><br>the key is to redefine sizePolicy for the KPushButton inside the Plasma:PushButton to don&#39;t let him have a minimum size.<br>
<br>Is it ok to commit ?<br><br>Cheers<br><br><div class="gmail_quote">On Wed, Jun 18, 2008 at 5:16 PM, Riccardo Iaconelli &lt;<a href="mailto:riccardo@kde.org">riccardo@kde.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Il Wednesday 18 June 2008 16:06:36 Anne-Marie Mahfouf ha scritto:<br>
<div class="Ih2E3d">&gt; On Wednesday 18 June 2008 03:38:03 pm Toussis Manolis wrote:<br>
&gt; &gt; I already send him an email. thanks for your time.<br>
&gt;<br>
&gt; I am investigating this further by doing some test cases and will report to<br>
&gt; the list.<br>
&gt;<br>
&gt; So far it seems that 2 Plasma::PushButton don&#39;t layout nicely while 2<br>
&gt; Plasma::Label do.<br>
&gt; Another thing about the Kolour Picker is that the circle on the bottom<br>
&gt; button (the circle has the latest picked color) &nbsp;seems to have disappeared<br>
&gt; when the change QPushButton -&gt;K was done.<br>
&gt;<br>
&gt; So if anyone wants to help, you can start confirming this and then finding<br>
&gt; out why PushButtons do not layout.<br>
<br>
</div>For my applet, I had to run the following code each time I added or removed an<br>
applet from the layout, to make the widgets not go outside of the applet, or<br>
anyways to get a correct layouting behiavour:<br>
<br>
 &nbsp; &nbsp;updateGeometry();<br>
 &nbsp; &nbsp;resize(sizeHint(Qt::PreferredSize));<br>
 &nbsp; &nbsp;setMinimumSize(sizeHint(Qt::MinimumSize));<br>
<br>
I put this in a function. The fact that we have to do that is pretty bad<br>
though. :-(<br>
<div class="Ih2E3d"><br>
Bye,<br>
-Riccardo<br>
--<br>
GPG key:<br>
3D0F6376<br>
When encrypting, please encrypt also for this subkey:<br>
9EBD7FE1<br>
-----<br>
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平<br>
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch שלום<br>
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py&#39;guapy 평화<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Panel-devel mailing list<br>
<a href="mailto:Panel-devel@kde.org">Panel-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/panel-devel" target="_blank">https://mail.kde.org/mailman/listinfo/panel-devel</a><br>
</div></div></blockquote></div><br>