[Bug 1208291] New: Plasma 5.27 QTableView row height - increased after update to 5.27
http://bugzilla.opensuse.org/show_bug.cgi?id=1208291 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/playlistcont... ``` 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 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1208291 http://bugzilla.opensuse.org/show_bug.cgi?id=1208291#c1 --- Comment #1 from Oleg Antonyan <oleg.b.antonyan@gmail.com> --- Happens only with Qt5 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com