<table><tr><td style="">davidedmundson requested changes to this revision.<br />davidedmundson added a comment.<br />This revision now requires changes to proceed.
</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/D17464">View Revision</a></tr></table><br /><div><div><p>If it's the exact same code as before, then my opinion will be the same.</p>

<p>The digital clock set the text height to 0.7 of the panel and the width is inferred through layouting.<br />
This patch sets the width based on the height of the parent. Which is why you need a different magic number.</p>

<p>We adjust the layout with which in turn adjust the width which in turn adjusts the digitH..it's all very messy.</p>

<p>Our best bet will be to fix the layouting, so that the width can be inferred automatically and you can use the same logic to set the height.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17464">https://phabricator.kde.org/D17464</a></div></div><br /><div><strong>To: </strong>gepardo, muhlenpfordt, mmazur, friedreich, Plasma, ngraham, davidedmundson<br /><strong>Cc: </strong>ngraham, davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>