Commit 0d12a175 authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

SANKORE-267 implement forced min width == 50 and min height == 50 for any widget application

parent 1d68e716
......@@ -299,7 +299,7 @@ void UBGraphicsDelegateFrame::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
QSizeF newSize = resizableItem->size() + incVector;
if (newSize.width() < 0 || newSize.height() < 0)
if (newSize.width() < 50 /*0*/ || newSize.height() < /*0*/ 50)
return;
resizableItem->resize(newSize);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment