Review Request 123915: Use custom PushButton to draw contents aligned to left

David Rosca nowrep at gmail.com
Tue Jun 16 10:29:51 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123915/
-----------------------------------------------------------

(Updated June 16, 2015, 10:29 a.m.)


Status
------

This change has been discarded.


Review request for Telepathy.


Repository: kaccounts-integration


Description
-------

The custom button uses same paint code as QCommonStyle, but it sets width of the rect to width of icon and text when drawing CE_PushButtonLabel which forces the contents to be left aligned.


Diffs
-----

  src/create.cpp 49ce1bd 

Diff: https://git.reviewboard.kde.org/r/123915/diff/


Testing
-------

Button contents are now left aligned, same as with QCommandLinkButton. Tested with Breeze, Oxygen, Fusion, win9x and GTK+ Oxygen styles.


Thanks,

David Rosca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20150616/47061510/attachment.html>


More information about the KDE-Telepathy mailing list