-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernelshark: Fix KsTableView columns width, and KsTraceViewer size
- Use QSizePolicy::Expanding for KsTraceViewer object to use full height - Do not use StyleSheet for KsTableView. When the StyleSheet is updated Qt6 redraw the whole table but with default column width without querying items sizeHint(). So instead use QPalette::Highlight. - Simplify _resizeToContents() since the columns have a proper width with Qt6 Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=218351 Signed-off-by: Benjamin ROBIN <[email protected]> Signed-off-by: Yordan Karadzhov <[email protected]>
- Loading branch information
1 parent
4babc5f
commit 1245304
Showing
2 changed files
with
20 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters