Forum
Sign Up

RibbonManWindow moves when toggle a dockwidget

12 years 5 months ago #1 by Jonas Fornander
Hi,

Main window is moving when I toggle a dockwidget and when the main window is NOT full sized.

I am using RibbonManWindow, RibbonBar and a QMdiArea.

I created a dummy dockwidget:
QDockWidget* dock = new QDockWidget(tr("Test"), this);
dock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea);
QLabel* lbl = new QLabel();
lbl->setPixmap(QPixmap(":/images/Media/test.png"));
dock->setWidget(lbl);
addDockWidget(Qt::LeftDockWidgetArea, dock);
groupGroups->addAction(dock->toggleViewAction());

When I enable/disable the dockwidget whe ribbonManWindow starts to move a little bit and suddenly it moves the whole window to the upper left corner.

Is it a known issue?

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.114 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • support@devmachines.com

  • license@devmachines.com

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • support@devmachines.com( any questions related to our products or services )
  • license@devmachines.com( questions related to licensing )