Bug 411811

Summary: QPushButton and QLineEdit have different height
Product: [Plasma] Breeze Reporter: Guo Yunhe <i>
Component: QStyleAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, noahadvs
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Left: QPushButton. Right: QLineEdit

Description Guo Yunhe 2019-09-11 07:58:16 UTC
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
Comment 1 Guo Yunhe 2019-09-15 20:59:27 UTC
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?
Comment 2 Nate Graham 2019-09-15 21:16:51 UTC
Why are they the same height in QML/Kirigami user interfaces? Which one was changed there? We should do the same thing in QWidgets.
Comment 3 Noah Davis 2019-12-21 02:02:50 UTC
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
Comment 4 Nate Graham 2021-02-16 20:48:41 UTC

*** This bug has been marked as a duplicate of bug 407273 ***