D26767: [KMessageWidget] Subtract the correct margin

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Jan 23 09:53:18 GMT 2020


broulik added inline comments.

INLINE COMMENTS

> kmessagewidget.cpp:214
>                                "border-radius: 4px;"
>                                "border: 2px solid %2;"
>                                "margin: %3px;"

Maybe instead make the width an `int` variable and use it in both places to future-proof it?

REPOSITORY
  R236 KWidgetsAddons

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

To: davidre, #frameworks, SGOrava, ngraham
Cc: broulik, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200123/703483f6/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list