D28152: KWinRules KCM Redesign
Nathaniel Graham
noreply at phabricator.kde.org
Thu Apr 16 22:53:13 BST 2020
ngraham added inline comments.
INLINE COMMENTS
> iasensio wrote in ValueEditor.qml:139
> Ok. I might have a slightly smaller font.
> Is there a not very hackish way the get the width for "100%" with user's font?
Allow me to introduce you to `TextMetrics`! It can be used for exactly this. Elisa uses it all over the place for just this purpose.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D28152
To: iasensio, #plasma, #kwin, #vdg
Cc: ngraham, davidedmundson, hchain, broulik, zzag, kwin, dmenig, manueljlin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, konkinartem, ian, jguidon, Ghost6, jraleigh, zachus, fbampaloukas, squeakypancakes, alexde, IohannesPetros, GB_2, mkulinski, trickyricky26, ragreen, jackyalcine, iodelay, crozbo, ndavis, bwowk, ZrenBot, firef, alexeymin, skadinna, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, aaronhoneycutt, abetts, sebas, apol, ahiemstra, mbohlender, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200416/b2a64d03/attachment.html>
More information about the kwin
mailing list