diff --git a/ChangeLog.txt b/ChangeLog.txt index c2f26445b..505f22f90 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,5 @@ # Version 0.4.3 +- Fixed UI bug. Release a dialog size for deploying a formula field. - Fixed broken formula when for system locale thousand separator is a space. - Using QGraphicsScene instead of VMainGraphicsScene caused a crash. - Fixed bug disabling tool True darts. diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index 4fd22ed37..0de7f4718 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -543,6 +543,12 @@ void DialogTool::DeployFormula(QPlainTextEdit *formula, QPushButton *buttonGrowL const QTextCursor cursor = formula->textCursor(); + //Before deploy ned to release dialog size + //I don't know why, but don't need to fixate again. + //A dialog will be lefted fixated. That's what we need. + setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX)); + setMinimumSize(QSize(0, 0)); + if (formula->height() < DIALOG_MAX_FORMULA_HEIGHT) { formula->setFixedHeight(DIALOG_MAX_FORMULA_HEIGHT);