Browse Source

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.
adaptive-webui-19844
Gabriele 10 years ago
parent
commit
fc02b11f65
  1. 1
      src/transferlistwidget.cpp

1
src/transferlistwidget.cpp

@ -111,6 +111,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
#if defined(Q_OS_MAC) #if defined(Q_OS_MAC)
setAttribute(Qt::WA_MacShowFocusRect, false); setAttribute(Qt::WA_MacShowFocusRect, false);
#endif #endif
header()->setStretchLastSection(false);
// Default hidden columns // Default hidden columns
if (!column_loaded) { if (!column_loaded) {

Loading…
Cancel
Save