This forum has been archived. All content is frozen. Please use KDE Discuss instead.

QTreeVeiw line spacing in KDE and Qt applications

Tags: None
(comma "," separated)
akontsevich
Registered Member
Posts
13
Karma
0
QTreeVeiw line spacing in KDE Plasma 5.10.4 for KDE and Qt applications is too big (not normal) comparing to other DE. 2 programs screenshots attached: QuiteRSS and Akregator in KDE and MATE (looks normal here) respectively. As You can see below QTreeVeiw or news list in KDE takes about 1.5 times more vertical space than in MATE. Any way to fix this sparsed style or report a bug?

Image Image

Image Image
airdrik
Registered Member
Posts
1854
Karma
5
OS
The spacing there is defined by the Widget Style. In Plasma the default style is Breeze. In GTK-based environments the default is to match the current GTK theme. You can change the style used in Plasma in System Settings -> Application Appearance -> Style.
Some of the styles allow you to tweak some of those parameters in their config dialogs, but I don't think Breeze allows you to tweak the spacing of the tree view items.

If you are up to modifying c++ source files, you can get the Breeze source, edit the source to adjust the spacing, recompile and install.


airdrik, proud to be a member of KDE forums since 2008-Dec.
akontsevich
Registered Member
Posts
13
Karma
0
It is a bug: https://bugs.kde.org/show_bug.cgi?id=371489
Hope just need to fix CSS, not need to recompile.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
It's not a bug -- as stated in that report, this look is intentional. If you don't like it, I think your current best bet is to use a different widget style.


I'm working on the KDevelop IDE.
akontsevich
Registered Member
Posts
13
Karma
0
scummos wrote:It's not a bug -- as stated in that report, this look is intentional. If you don't like it, I think your current best bet is to use a different widget style.

Do not see other suitable styles in Neon package: Fusion has VERY small controls (radio, check buttons, etc) - seems does not have Hi/Low DPI support. And this is definitelly a bug as mentioned above: https://bugs.kde.org/show_bug.cgi?id=371489
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
This is not a bug. The report says

We are aware of the complain about breeze being too space consuming (although in general one does get use to it). There are plans to have a "compact" breeze mode.

which acknowledges that some people want it and it might be implemented as an alternative in the future, but the current behaviour is fully intentional.


I'm working on the KDevelop IDE.
airdrik
Registered Member
Posts
1854
Karma
5
OS
As for other styles, I'm pretty sure QtCurve should be in the repos, possibly also Kvantum (if not, you can get instructions here: https://store.kde.org/p/1005410/).


airdrik, proud to be a member of KDE forums since 2008-Dec.
akontsevich
Registered Member
Posts
13
Karma
0
airdrik wrote:As for other styles, I'm pretty sure QtCurve should be in the repos, possibly also Kvantum (if not, you can get instructions here: https://store.kde.org/p/1005410/).

QtCurve is in Kubuntu repo, not in Neon, can't install it cause it depend on qt 5.6.1. Is there some additional repo in neon for xenia with styles, applications, etc?


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]