mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
Don't stretch the last section in the transfer list
Since the content of some sections is right aligned, automatically resizing the width of the last one to fill the header could be sometimes undesired. Let the user choose the width of each section and never change his preference.
This commit is contained in:
committed by
sledgehammer999
parent
b8da4bcf74
commit
f7f1c81238
@@ -112,6 +112,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
||||
#if defined(Q_WS_MAC)
|
||||
setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||
#endif
|
||||
header()->setStretchLastSection(false);
|
||||
|
||||
// Default hidden columns
|
||||
if (!column_loaded) {
|
||||
|
||||
Reference in New Issue
Block a user