[Differential] [Request, 123 lines] D3523: Fix resizing of infopanel
rthomsen (Ragnar Thomsen)
noreply at phabricator.kde.org
Sun Nov 27 16:57:41 UTC 2016
rthomsen created this revision.
rthomsen added a reviewer: elvisangelaccio.
rthomsen set the repository for this revision to rARK Ark.
rthomsen added a project: Ark.
Restricted Application added a subscriber: kde-utils-devel.
REVISION SUMMARY
`KSqueezedTextLabel` doesn't support rich text. This causes the used `<b>` and `</b>` to sometimes become visible when the infopanel is reduced in size.
We split the text up into two parts: The left-most is a `QLabel` (because it has predictable horizontal size) with the title and the right-most is a `KSqueezedTextLLabel` with the value. The left-side one can then be set to bold font.
TEST PLAN
Select an entry in any archive and resize the infopanel. Check that the labels "look good".
REPOSITORY
rARK Ark
REVISION DETAIL
https://phabricator.kde.org/D3523
AFFECTED FILES
part/infopanel.cpp
part/infopanel.ui
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: rthomsen, elvisangelaccio
Cc: kde-utils-devel, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20161127/58e5bc2a/attachment.html>
More information about the Kde-utils-devel
mailing list