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

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 1d68e7163f
commit 0d12a17535
  1. 2
      src/domain/UBGraphicsDelegateFrame.cpp

@ -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);

Loading…
Cancel
Save