D17464: [Timer applet] Minor fixes for the applet

Alexander Kernozhitsky noreply at phabricator.kde.org
Mon Jul 29 18:08:05 BST 2019


gepardo added a comment.


  > I don't follow how it makes them the same when the other number is different.
  
  Timer applet is rendered using SVGs, clock applet is rendered using text. So, as the SVGs and font glyphs have different sizes, we need different coefficients. The coefficient 0.86 itself is obtained by trying different other "magic" numbers and finding the nearest one visually.
  
  Here is how it looks:
  F7114370: clock.png <https://phabricator.kde.org/F7114370>
  
  Or, I can just give up and remove 0.86 from the code :)
  F7114374: clock1.png <https://phabricator.kde.org/F7114374>

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D17464

To: gepardo, muhlenpfordt, mmazur, friedreich, #plasma
Cc: ngraham, davidedmundson, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190729/93dac732/attachment.html>


More information about the Plasma-devel mailing list