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

2016-06-06 Thread Adam Light
On Tue, May 31, 2016 at 1:06 AM, René J.V. 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

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

2016-05-31 Thread René J . V . Bertin
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

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

2016-05-30 Thread Adam Light
On Mon, May 30, 2016 at 12:39 AM, René J. V. wrote: > René J.V. Bertin wrote: > > Hi, > > > > >> In our application, we have the following code in a > >> QApplication::eventFilter reimplementation for this exact reason: > >> > >> case QEvent::ChildAdded: > > ... > >>

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

2016-05-30 Thread René J . V . Bertin
René J.V. Bertin wrote: Hi, > >> In our application, we have the following code in a >> QApplication::eventFilter reimplementation for this exact reason: >> >> case QEvent::ChildAdded: > ... >> theChildWidget->setAttribute(Qt::WA_LayoutUsesWidgetRect, true); > > That's very interesting, I

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

2016-05-25 Thread René J . V . Bertin
On Wednesday May 25 2016 06:28:27 Adam Light wrote: Hi Adam, > In our application, we have the following code in a > QApplication::eventFilter reimplementation for this exact reason: > > case QEvent::ChildAdded: ... > >

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

2016-05-25 Thread Adam Light
On Tue, May 24, 2016 at 11:40 AM, René J. V. wrote: > 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

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

2016-05-24 Thread René J . V . Bertin
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