Created attachment 122595 [details] Left: QPushButton. Right: QLineEdit QButton and QLineEdit are often put in the same row. The difference of height should be avoid. Operating System: openSUSE Tumbleweed 20190907 KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.13.0 Kernel Version: 5.2.11-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 31.2 GiB
The following components should have same height: * QPushButton, QComboBox * QLineEdit, QDateEdit, QTimeEdit, etc. Then we come into the question: should we increase QLineEdit height, or decrease QPushButton height?
Why are they the same height in QML/Kirigami user interfaces? Which one was changed there? We should do the same thing in QWidgets.
It seems like only buttons with text have this problem. If a button only has an icon, then it is the same size as a QLineEdit
*** This bug has been marked as a duplicate of bug 407273 ***