<table><tr><td style="">rooty 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/D17975">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D17975#389613" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D17975#389613</a>, <a href="https://phabricator.kde.org/p/davidedmundson/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@davidedmundson</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><p>BTW, if you want a neater solution: (though consider this optional)<br />
Instead, use Layout.topMargin on the titleBar and Layout.bottomMargin on the lowerPart.</p></div>
</blockquote>
<p>I love it. It's just that the icon doesn't seem to get the message :/ That's why I've been manipulating the height this entire time. I'd like to implement this but I don't know how to add padding to IconItem... (I can't think of anything to anchor it to - anchoring it to parent.bottom and adding a margin stretches the icon out / distorts it)</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>There's a logic error. I'll rewrite it so you can see it.</p></blockquote>
<p>I'm sorry I still don't get it 😓<br />
If greater than 1 then return 0.5, otherwise (it's less than or equal to 1 = either 0 or 1?) if 0 then 0, otherwise (not zero but 1) return 2.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17975">https://phabricator.kde.org/D17975</a></div></div><br /><div><strong>To: </strong>rooty, VDG, Plasma, ngraham<br /><strong>Cc: </strong>Codezela, abetts, filipf, davidedmundson, hein, ndavis, plasma-devel, kvanton, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart<br /></div>