[vlc-devel] [PATCH] draw the toolbar with DPI-aware dimensions
Jean-Baptiste Kempf
jb at videolan.org
Thu Nov 6 17:05:01 CET 2014
On 06 Nov, Francois Cartegnie wrote :
> Le 06/11/2014 14:44, Jarrad Whitaker a écrit :
> > Because the volume widget is also based on a pixmap, I have
> > directly drawn it scaled so it is a little blurry. I would like to
> > mitigate this by having Qt draw the requisite triangle and mask
> > directly instead of using a pixmap; again though, I consider the
> > jump in usability to justify sending my changes as is, as the
> > cosmetic fixups will have quite a long tail of work (especially to
> > ensure they don't break the current pixel-perfect layout at 96
> > dpi).
>
> AFAIR, it is not possible to do this properly without Qt5, and an
> arbitrary scalingfactor isn't the Qt way. (See hdpi guide)
It's fine to require Qt5 to have proper HiDPI.
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list