PDA

View Full Version : Dock Widget Resize Cursor



qtoptus
1st June 2016, 05:54
I'm trying to resize QDockWidget programitcally using the following code:

dockW->setMinimumSize(newSize);
dockW->setMaximumSize(maxSize);

Depending on whether the width increased or decreased.

Although the widget resizes properly, in some situations the Splitter Cursor is lost when hovering over the dock widget resize area. It shows the mouse arrow instead.

Any idea why this happening? What can I do to restore the cursor after resize takes place?

Thanks.