<table><tr><td style="">davidedmundson added a comment.
</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/D20086">View Revision</a></tr></table><br /><div><div><p>Hardcoding pixel size won't impact scaling.</p>
<hr class="remarkup-hr" />
<p>You will never get it spot on two rows with any combination of pixel size or units or whatever you add here. The correct size is dependent on the exact children.<br />
The only way you'll get it to be correct is to bind this stack view to currentItem.implicitHeight and making sure that the implicit size propagates upwards correctly.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R133 KScreenLocker</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20086">https://phabricator.kde.org/D20086</a></div></div><br /><div><strong>To: </strong>tigrang, davidedmundson<br /><strong>Cc: </strong>abetts, filipf, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart<br /></div>