PDA

View Full Version : MACOS centered modal dialog instead of sheet



Zalwou06
18th September 2012, 14:46
Hi all,

I was wondering if this was possible ON MACOS to have a modal dialog centered instead of having it coming from to top of the mainframe? Like popping a modal dialog on windows, the dialog is centered on the mainframe (or the parent QWidget). I am using Qt::Dialog and Qt::Sheet and this has the same effect on windows but ont mac the dialog is created on top of the parent widget and scroll down.

I am having a problem with this feature since my mainframe has a huge invisible border around it and the dialog is laying on this invisible part of the mainframe.

So I want to reproduce the windows way of displaying the dialog, not the mac way.

Thanks for your answers
zal