<table><tr><td style="">Zren created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6201" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Is there a reason we need to have the label to be implicitWidth?<br />
Right now, we get a binding loop on <tt style="background: #ebebeb; font-size: 13px;">width: Math.min(label.implicitWidth + units.smallSpacing, parent.width - units.smallSpacing * 4)</tt>.</p>

<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">file:///home/chris/.local/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:288:17: QML Text: Binding loop detected for property "width"</pre></div>

<p>Also, the icon uses <tt style="background: #ebebeb; font-size: 13px;">units.smallSpacing</tt> for the <tt style="background: #ebebeb; font-size: 13px;">leftMargin</tt>, while the label currently uses  <tt style="background: #ebebeb; font-size: 13px;">2 * units.smallSpacing</tt> for the <tt style="background: #ebebeb; font-size: 13px;">leftMargin</tt>. I've changed it so they're both the same width since width is more important for the label.</p>

<p>Before: <a href="https://phabricator.kde.org/F3782091" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3782091: 2017-06-12___15-58-51.png</a><br />
After: <a href="https://phabricator.kde.org/F3782089" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">F3782089: 2017-06-12___15-54-42.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R119 Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6201" rel="noreferrer">https://phabricator.kde.org/D6201</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>containments/desktop/package/contents/ui/FolderItemDelegate.qml</div></div></div><br /><div><strong>To: </strong>Zren, hein<br /><strong>Cc: </strong>plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>