How does the width of qlineedit fit into the length of the text
Solved
General and Desktop
-
@duncan98
I don't think it does. Are you looking for some kind of "line edit should expand & contract to fit text as user types characters"? I think you'd have to do this yourself viatextChanged
signal. If so, there are several hits out there if you Google, you could look at the accepted answer in https://stackoverflow.com/questions/30031103/qlineedit-auto-resize-to-content, I don't know if it's best but looks like it should work for you as you type.