Hi,

I want to limit the size of QLineEdit to only 3 chars, how to do that?

Notice that the user can change the font of QLineEdit so I need it to resize to show only 3 chars in user selected font size?

Thanks,
Mohammad