Bug 365845

Summary: QPushButtons and other default UI elements are too big
Product: [Plasma] Breeze Reporter: Jim Jones <rauchwolke>
Component: QStyleAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jim Jones 2016-07-19 07:11:19 UTC
I wrote some simple apps in qt4 that worked normally under kde4. After i switched to the kde framework 5 the default ui elements of qt4/5 apps (QPushButton, QLineEdit,...) are displayed way too big, therefore the size of the widgets increased and the app doesn't fit on the screen anymore. While using kde 4 it was possible to fit two apps side by side on one screen. Now the interface takes up nearly 80% of the screen for only one widget. Is there a way to scale down the size of the default ui elements?

The DPI settings under kde4 were equal.

Reproducible: Always
Comment 1 Jim Jones 2016-07-19 07:16:54 UTC
Selecting the "MS Windows 9x" style leads to smaller buttons but they are still too big
Comment 2 Martin Flöser 2016-07-19 10:36:29 UTC
Not a bug in KWin - KWin is not responsible for anything DPI related or widget style related.

I do not know which component might be related to it, thus moving to kde/general in the hope that someone else knows where to assign it to.
Comment 3 Christoph Feck 2016-07-21 03:42:54 UTC
> Is there a way to scale down the size of the default ui elements?

Use a different widget style, such as QtCurve or Skulpture.

For Plasma 5, KDE developers increased the default size to follow the trend of High-DPI and finger-friendly interfaces.