dockwidget.py doesn't collapse more one time

Bug #520307 reported by avdyushin.g
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyqtwidgets
New
Undecided
Unassigned

Bug Description

Using test_dockwidget.py i found that auto-hide works only one time, at second time it just hides widget (no resizes parent widget).

In DockMainWidgetWrapper, method setCollapsed:

self.parent().setMaximumWidth(self.parent().width() - self.width())

changed to:

self.parent().setFixedWidth(self.parent().width() - self.width())

and works now.

Is it true ?

Regards,

Avdyushin Grigory

Qt Developer, DCTech co, ltd.
<email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.