D6696: Fix cut off text in sidebar header, remove restricted max width
Albert Astals Cid
noreply at phabricator.kde.org
Mon Jul 31 20:13:28 UTC 2017
aacid added a comment.
In https://phabricator.kde.org/D6696#130427, @sander wrote:
> Albert, I don't see how fixing the code would look like, either. Even if the max width would be given in some dpi-independent way, there would still be a size limit and translations of "Thumbnails" would be cut off. Are you proposing to use an dpi-independent size unit AND increasing the max size?
Yes and no, what i am saying is
d->sideContainer->setMaximumWidth( 600 * QGuiApplication::devicePixelRatio );
since QGuiApplication::devicePixelRatio will be something like 2, yes the max size is increased, but not "really increased", because what happens is that everything is twice as big
REPOSITORY
R223 Okular
REVISION DETAIL
https://phabricator.kde.org/D6696
To: rkflx, #okular, aacid
Cc: sander, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20170731/4e4933b4/attachment.html>
More information about the Okular-devel
mailing list