mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #742] [MERGED] QtUtils: Improve QTableView column resizing #93
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stenzek/duckstation/pull/742
Author: @ggrtk
Created: 8/11/2020
Status: ✅ Merged
Merged: 8/12/2020
Merged by: @stenzek
Base:
master← Head:qtutils📝 Commits (1)
6e0b71aQtUtils: Improve QTableView column resizing📊 Changes
2 files changed (+9 additions, -5 deletions)
View changed files
📝
src/duckstation-qt/qtutils.cpp(+8 -4)📝
src/duckstation-qt/qtutils.h(+1 -1)📄 Description
This avoids use of hard-coded padding values and properly considers minimum and maximum column widths when calculating the remaining flexible width. Fixes unnecessary horizontal scroll bar showing up by default.
Before:

With patch:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.