diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp
index 160ca363b..ba8e195c0 100644
--- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp
+++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.cpp
@@ -94,7 +94,6 @@ DialogEditWrongFormula::DialogEditWrongFormula(const VContainer *data, const qui
connect(ui->tableWidget, &QTableWidget::itemDoubleClicked, this, &DialogEditWrongFormula::PutVal);
connect(ui->plainTextEditFormula, &QPlainTextEdit::textChanged, this, &DialogEditWrongFormula::FormulaChanged);
- connect(ui->pushButtonGrowLength, &QPushButton::clicked, this, &DialogEditWrongFormula::DeployFormulaTextEdit);
//Disable Qt::WaitCursor
#ifndef QT_NO_CURSOR
@@ -140,12 +139,6 @@ void DialogEditWrongFormula::DialogRejected()
rejected();
}
-//---------------------------------------------------------------------------------------------------------------------
-void DialogEditWrongFormula::DeployFormulaTextEdit()
-{
- DeployFormula(ui->plainTextEditFormula, ui->pushButtonGrowLength, formulaBaseHeight);
-}
-
//---------------------------------------------------------------------------------------------------------------------
void DialogEditWrongFormula::EvalFormula()
{
diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.h b/src/libs/vtools/dialogs/support/dialogeditwrongformula.h
index 02677c534..9777bb0b8 100644
--- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.h
+++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.h
@@ -73,10 +73,6 @@ public:
public slots:
virtual void DialogAccepted() Q_DECL_OVERRIDE;
virtual void DialogRejected() Q_DECL_OVERRIDE;
- /**
- * @brief DeployFormulaTextEdit grow or shrink formula input
- */
- void DeployFormulaTextEdit();
virtual void EvalFormula() Q_DECL_OVERRIDE;
void ValChanged(int row);
void PutHere();
diff --git a/src/libs/vtools/dialogs/support/dialogeditwrongformula.ui b/src/libs/vtools/dialogs/support/dialogeditwrongformula.ui
index d86e0cc3e..7b861987c 100644
--- a/src/libs/vtools/dialogs/support/dialogeditwrongformula.ui
+++ b/src/libs/vtools/dialogs/support/dialogeditwrongformula.ui
@@ -10,7 +10,7 @@
0
0
448
- 526
+ 478
@@ -147,95 +147,196 @@
-
-
-
-
-
-
-
- 0
- 0
-
-
-
-
- 16777215
- 28
-
-
-
- Calculation
-
-
- true
-
-
-
- -
-
-
-
- 18
- 18
-
-
-
-
- 0
- 0
-
-
-
- <html><head/><body><p>Show full calculation in message box</p></body></html>
-
-
-
-
-
-
- ..
-
-
-
- 16
- 16
-
-
-
- true
-
-
-
-
-
- -
-
-
-
-
+
+
+ Qt::Vertical
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ Calculation
+
+
+ true
+
+
+
+
-
-
+
-
-
-
-
- 0
- 0
-
-
-
- Input data
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ Input data
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Measurements
+
+
+ true
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Increments
+
+
+
+ -
+
+
+ Preview calculations
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+ Length of lines
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+ Length of curves
+
+
+
+ -
+
+
+ true
+
+
+
+ 0
+ 0
+
+
+
+ Angle of lines
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Radius of arcs
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Angles of curves
+
+
+
+ -
+
+
+ Lengths to control points
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Functions
+
+
+
+
+
+
+
+ -
+
+
-
+
+
+ Filter list by keyword
-
-
-
-
- 0
- 0
-
-
+
- Measurements
+ Hide empty measurements
true
@@ -243,168 +344,33 @@
-
-
-
-
- 0
- 0
-
+
+
+
+ 0
+ 0
+
-
- Increments
-
-
-
- -
-
-
- Preview calculations
-
-
-
- -
-
-
- true
-
-
-
- 0
- 0
-
-
-
- Length of lines
-
-
-
- -
-
-
- true
-
-
-
- 0
- 0
-
-
-
- Length of curves
-
-
-
- -
-
-
- true
-
-
-
- 0
- 0
-
-
-
- Angle of lines
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Radius of arcs
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Angles of curves
-
-
-
- -
-
-
- Lengths to control points
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Functions
+
+ PointingHandCursor
+
+
+ Name
+
+
+
+
+ Full name
+
+
-
- -
-
-
-
-
-
- Filter list by keyword
-
-
-
- -
-
-
- Hide empty measurements
-
-
- true
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- PointingHandCursor
-
-
-
- Name
-
-
-
-
- Full name
-
-
-
-
-
-
-
+
+
-
@@ -436,9 +402,7 @@
- plainTextEditFormula
toolButtonPutHere
- pushButtonGrowLength
radioButtonStandardTable
radioButtonIncrements
radioButtonLengthLine