Forum
Sign Up

QtitanDocking 2.3.0: addDockPanel with sizeHint not working

2 months 3 weeks ago #1 by Jörn
I add a DockPanel with:
m_panel_1 = dockPanelManager()->addDockPanel(tr("Panel 1"), QSize(300,200),LeftDockPanelArea);
If i move the panel with the mouse to make the panel floating it behaves different to version 2.0.1.
With 2.0.1 the floating panel has the size of sizeHint. This is good. With 2.3.0 the floating panel has the same size as the docked panel. In this case, sizeHint is senseless.
I have checked this demo Docking_SimplePanel.
If I switch m_panel_1 to floating over the menu entry Panels->Panel 1->Float the floating panel has the same size as the docked panel in both versions.

In any case, switching a docked panel to a floating panel sizeHint should be used or size of the panel before it was docked

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 MachinesEduard
Time to create page: 0.117 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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

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:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )