In QtQuick 1.1 there are the implicitWidth and implicitHeight properties.<br><br>Cheers,<br><br clear="all">Daker Fernandes Pinheiro<br><br>
<br><br><div class="gmail_quote">2011/9/14 Marco Martin <span dir="ltr"><<a href="mailto:notmart@gmail.com">notmart@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Wednesday 14 September 2011, Aaron J. Seigo wrote:<br>
> On Tuesday, September 13, 2011 20:39:20 Viranch Mehta wrote:<br>
> > Also, I would like to make a note here that battery monitor and<br>
> > lock/logout<br>
><br>
> speaking of lock/logout and applets which are essentially rows of icons ...<br>
> has someone worked out the issues around QML widgets not have size hints<br>
> and appropriate sizing of applets like lock/logout in panels in<br>
> plasma-desktop?<br>
<br>
</div>yep, the slc applet should have correct sizing now.<br>
unfortunately it requires some manual calculation from the qml side since is<br>
not something offered stock, but if the root element offers "minimumWidth" and<br>
"minimumHeight" the applet will use them as minimum size hints.<br>
<br>
in plasma2, in the case of a scene that doesn't have qgraphicswidgets in the<br>
middle, sizing of things should be a bit easier and a tad more automatic (just<br>
remains pretty hard do to expanding things like the taskbar)<br>
<br>
Viranch, that should be done for the lock/logout applet as well<br>
<div><div></div><div class="h5"><br>
Cheers,<br>
Marco Martin<br>
_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br>