pyQt 5 editline input size

275 Views Asked by At

I'm new to pyQt and couldn't find an answer online. I have created a form, and in one edit line I want the input box to be bigger and allow longer text. the only option that worked for me was the following:

window.line.setFixedHeight(200)

But I'm dealing with 2 issues:

  1. the cursor starts from the middle of the box, how can I align it to the upper left side?

enter image description here

  1. there no option to get line down using enter.

I appreciate your help. Thanks.

0

There are 0 best solutions below