PDA

View Full Version : QMdiSubWindow with ugly bold font



RThaden
28th February 2013, 14:21
Hi all,

I have a problem with QMdiSubWindows. The active subwindow has a strange bold doubled font. The user might ask himself, if he had too many beers.
8779
Please see the attached image. I don't know how to remove that. I experimented with window flags, with Win32 API calls to SetWindowLong(hWnd, GWL_EXSTYLE, ...); etc.

I create the windows like this

QMdiSubWindow* msw = mdiArea->addSubWindow(networkDlg, Qt::SubWindow | Qt::WindowTitleHint | Qt::WindowMinimizeButtonHint);


Can anyone point in the right direction how to solve this?

Best regards,

Rainer