Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -78,6 +78,7 @@ QScriptValue WindowScriptingInterface::showPrompt(const QString& message, const · 77 unmodified lines | ||
| 78 | 78 | promptDialog.setWindowTitle(""); |
| 79 | 79 | promptDialog.setLabelText(message); |
| 80 | 80 | promptDialog.setTextValue(defaultText); |
| 81 | + promptDialog.setFixedSize(600, 200); | |
| 81 | 82 | |
| 82 | 83 | if (promptDialog.exec() == QDialog::Accepted) { |
| 83 | 84 | return QScriptValue(promptDialog.textValue()); |