[Interest] widget rendering (alignment, sizing) issues on OS X

Adam Light aclight at gmail.com
Mon Jun 6 18:37:26 CEST 2016


On Tue, May 31, 2016 at 1:06 AM, René J.V. <rjvbertin at gmail.com> wrote:

> On Monday May 30 2016 15:22:50 Adam Light wrote:
>
> Hi,
>
> >To address this in our application, we use a QProxyStyle subclass in which
> >we reimplement layoutSpacing on Macintosh like so:
> >
> >               if (spacing > 2) {
> >                       spacing /= 2;
> >               }
>
> You're full of interesting suggestions :)
>
> Initial testing shows that could indeed be a solution, though a factor two
> seems a bit too much for radio buttons. And the way I implemented it at 2am
> it also nuked the colour palette which left me with windows sporting Qt's
> proprietary gray/beige. I take it you initialise the spacing variable from
> QProxyStyle::layoutSpacing(/*arguments we received*/)?
>
>
Yes, that's correct.


 Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160606/3049a737/attachment.html>


More information about the Interest mailing list