While using the simplesialog.askstring is good and all, I would like to resize the pop-up window and also resize the width of the text input.
(sample code)
from tkinter import *
from tkinter import simpledialog
prompts = ["name", "age", "height", "wheight"]
root = Tk()
for p in prompts:
answer = simpledialog.askstring(p, root)
print(answer)
I have looked at different documentation, but could not seem to spot how to do it.
Possible Copy of Increase tkSimpleDialog window size?
My understanding is that tkinter.simpledialog is a very simple and easy-to-use dialog box with very few options(basically title and prompt).
No answer here is going to look as 'clean' as your code, unless you modify the tkinter module.(unless you get away from tkinter)
I would recommend either simply using the given simpledialog one, or trying something like the easygui enterbox for a different look, or making a simple GUI with tkinter.