<div>davidedmundson added a comment.</div><br /><div><div><p>We need knowledge of three things:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">min, max</li>
<li class="remarkup-list-item">preferred/implicit size</li>
<li class="remarkup-list-item">current size</li>
</ul>

<p>min, max are pretty clear <br />
current is the root.width (or panelView.width as they're the same thing)<br />
preferred is what is currently panel.length</p>

<p>by mashing the last two bits into one variable we lose a piece of information that we will at some point need</p>

<p>I don't understand what you mean about restoring.<br />
We should restore the min and max, then the content size comes from the contents - we can't save that as that doesnt make much sense.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMADESKTOP Plasma Desktop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1066" rel="noreferrer">https://phabricator.kde.org/D1066</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>drosca, Plasma, davidedmundson<br /><strong>Cc: </strong>mart, davidedmundson, apol, plasma-devel<br /></div>