So using QInputDialog::getText() did not work well because of the dialog size? I would have assumed that the dialog would have resized itself based on the length of the text being edited (original tracker URL).