You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #204: Drop buggy TableViewLastColumnResizingFixer class
3913d1e qt: Drop buggy TableViewLastColumnResizingFixer class (Hennadii Stepanov)
Pull request description:
In Qt 5 the last column resizing with dragging its left edge works out-of-the-box.
The current `TableViewLastColumnResizingFixer` implementation could put the last column content out of the view port and confuse a user:

Historical context:
- bitcoin/bitcoin#2862
- bitcoin/bitcoin#3626
- bitcoin/bitcoin#3738
- bitcoin/bitcoin#3920#205 is a nice addition.
ACKs for top commit:
jarolrod:
ACK 3913d1e, tested on macOS 11.1 Qt 5.15.2
Talkless:
tACK 3913d1e, tested on Debian Sid. Can confirm that behavior in previous commit does not produce scroll bar, last column gets "hidden". This PR makes clear that there's more to see in the view.
promag:
Tested ACK 3913d1e on macos.
Tree-SHA512: 12582dfce54bb1db3d9934ae092e305d32e9760cc99b0265322e161fa7f54b7d6fb6cefedf700783f767d5c3a56a8545c8d2f5ade66596c4e67b8a5287063e8a
* Initializes all internal variables and prepares the
571
-
* the resize modes of the last 2 columns of the table and
572
-
*/
573
-
TableViewLastColumnResizingFixer::TableViewLastColumnResizingFixer(QTableView* table, int lastColMinimumWidth, int allColsMinimumWidth, QObject *parent) :
0 commit comments