René J.V. Bertin wrote: I think I posted the question below to the wrong list.
Has anyone ever noticed widgets not being aligned correctly because of sizing issues on OS X, outside of KDE applications, as shown in the link below? https://bugs.kde.org/show_bug.cgi?id=363423 I've dug around some more on this and had some feedback which led me to understand that this happens when widgets are used that somehow do not use QMacStyle but QStyle instead. The fixes I found are extremely simple, requiring only the Qt::WA_LayoutUsesWidgetRect attribute to be set on the widget in question: https://git.reviewboard.kde.org/r/128002 https://git.reviewboard.kde.org/r/128004 https://git.reviewboard.kde.org/r/128005 The issue also occurs with comboboxes but I haven't yet identified where I could try the same fix. The question that has come up is whether this attribute shouldn't simply always be set in QPushButtons, as there appears to be no effect of setting the attribute on Linux (or when using other widget styles on OS X). Thoughts on that? R > Hello, > > FYI: > I'm cross-posting a link to a KDE bug report I just filed, about rendering > issues with certain kinds of widgets on OS X. These occur only with the > "macintosh" widget style, also when I use that style in combination with the > XCB qpa plugin. That does suggest the issue might be somewhere in Qt's > "macintosh" widget drawing routines. A screenshot is attached to the bug > report. > > https://bugs.kde.org/show_bug.cgi?id=363423 > > Cheers, > R. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest