It really bothers me that QT Designer is incapable to size the LineEdit according to the requirement in its layout manager. It always wants to make LineEdit at least certain size. If you want to create a small dialog with various LineEdits, each of them only holds 2 or 3 digits, you do not want the LineEdit in the size QT sets for you. I do not want to display a big dialog then resize it by user. Looks like QT is not ready for prime time yet.