|
|
|
@ -318,6 +318,7 @@ void UBDockPalette::toggleCollapseExpand() |
|
|
|
|
resize(mLastWidth,height()); |
|
|
|
|
else{ |
|
|
|
|
mLastWidth = width(); |
|
|
|
|
update(); |
|
|
|
|
resize(0,height()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -691,6 +692,7 @@ void UBTabDockPalette::mouseMoveEvent(QMouseEvent *event) |
|
|
|
|
case eUBDockOrientation_Left: |
|
|
|
|
p.setX(p.x() + dock->width()); |
|
|
|
|
if(p.x() < dock->collapseWidth() && p.x() >= dock->minimumWidth()) { |
|
|
|
|
dock->update(); |
|
|
|
|
dock->resize(0, dock->height()); |
|
|
|
|
//dock->mLastWidth = dock->collapseWidth() + 1;
|
|
|
|
|
dock->mResized = true; |
|
|
|
|