[Interest] Undesired space added in Mac style UI rendering

Vadim Peretokin vperetokin at gmail.com
Mon Nov 4 23:42:39 CET 2013


I'll try those two flags... if you mention it looks different for you,
would you mind showing me a screenshot of how it looks for you? I've just
got this one mac (and it's not even a real one) to help Mac users with.


On Tue, Nov 5, 2013 at 5:26 AM, John Weeks <john at wavemetrics.com> wrote:

> Agh... once again, I forgot to direct my answer to the list.
>
>
> Well, I'm not sure of the solution, but the extra space appears to be
> coming from the checkbox used as the groupbox title. In your screen shots,
> the checkbox text is the same size as the other groupbox titles, on my
> Macintosh running 10.6.8 (out of date...) the checkbox text is actually
> larger than the other titles.
>
> This seems like a bug in the Macintosh style; on my machine the checkmark
> (which extends beyond the checkmark box) is truncated. At the very least,
> it seems like the gap should be filled in with the groupbox background.
> Also, if I set the palettes to the default, the background appears to fill
> the space better. It looks like the Macintosh style is not measuring the
> space required for the checkbox correctly in all parts of its code.
>
> You might try setting QWidget:: setAttribute(Qt::WA_MacSmallSize)
> or  setAttribute(Qt::WA_MacMiniSize). I haven't found a way to set these
> attributes other than in code. It would be nice if there were an obvious
> way to set them in Designer.
>
> -John Weeks
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131105/2b0f15e4/attachment.html>


More information about the Interest mailing list