I'm using PyQt, and wish to create a simple text box to collect user input.
I know
text_input = QLineEdit()
text_input.setMaxLength(10)
will allow me to collect text input and will limit the number of entered characters to 10.
Is there an option (or different widget) that will limit the size of the "box" so it won't occupy an entire line?