Bug ID | 1208291 |
---|---|
Summary | Plasma 5.27 QTableView row height - increased after update to 5.27 |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | KDE Workspace (Plasma) |
Assignee | opensuse-kde-bugs@opensuse.org |
Reporter | oleg.b.antonyan@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
After update to 5.27 minimal row height in QTableView increased for about 50% I use QTableView in my project: https://github.com/olegantonyan/mpz/blob/master/app/playlist_ui/playlistcontroller.cpp#L33 ``` view->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); view->verticalHeader()->setDefaultSectionSize(view->verticalHeader()->minimumSectionSize()); ``` and now `verticalHeader()->minimumSectionSize()` returns 34. I don't remember what it it used to be, but visually it was smaller, around 24-26. I can set `verticalHeader()->setMinimumSectionSize(26);` manually, but don't like the idea of hard-coding any numbers. If this is the new norm in Plasma/Breeze then how is there a way to get this height in pixels from somewhere? In QListView for example the height is intact, so maybe I need to use another Qt method to get the real minimal row height? Breeze Dark theme, Plasma 5.27, latest Tumbleweed