Hi,<br><br>A QGraphicsWidget is embeded into Plasma::Applet through QGraphicsLinearLayout. When this QGraphicsWidget&#39;s size changes, how to get the applet&#39;s size adjusted accordingly? <br><br>The code snippet looks like:<br>
<br>&nbsp; child = new MyGraphicsWidget(applet);<br>&nbsp; layout = new QGraphicsLinearLayout(applet);<br>&nbsp; layout-&gt;setSpacing(0);<br>&nbsp; layout-&gt;addItem(child);<br>&nbsp; applet-&gt;setLayout(layout);<br><br><br>Regards,<br>--<br>Tiger<br>