| Summary: | QPushButton and QLineEdit have different height | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Guo Yunhe <i> |
| Component: | QStyle | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | nate, noahadvs |
| Priority: | NOR | ||
| Version First Reported In: | 5.16.5 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Left: QPushButton. Right: QLineEdit | ||
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 *** |
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