D20128: Center align shortcut badges when iconSize < 48
Tranter Madi
noreply at phabricator.kde.org
Sat Mar 30 19:11:37 GMT 2019
trmdi added a comment.
In D20128#440574 <https://phabricator.kde.org/D20128#440574>, @mvourlakos wrote:
> Checking the Badge height didn't work out well?
I think checking the iconSize is enough. Because:
- when iconSize >= 60, height = 0.4 * iconSize -> no need to center align badges
- when iconSize < 60, height is always = 24, so the only condition that need to be checked is iconSize.
What is the problem with that?
REPOSITORY
R878 Latte Dock
REVISION DETAIL
https://phabricator.kde.org/D20128
To: trmdi, #latte_dock
Cc: mvourlakos, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190330/c9eff055/attachment-0001.html>
More information about the Plasma-devel
mailing list