Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2017-03-13 19:05:24 +0300
committerOlivier Goffart <ogoffart@woboq.com>2017-03-13 19:05:24 +0300
commit2152bc5fca71548abefcf59f41092704dfcac1a7 (patch)
tree7ee3133ef5240ff122ee18203d8af5f804c536ed /src/gui/ignorelisteditor.cpp
parent11aecf1af27cd932d43d6e743136b9a348b4edc0 (diff)
Ignore list editor: adjust the size of the columns in the table
So the title of the column is fully visible. Adjust the default size and the size policy of the label so it behave correctly as the window get resized Issue #5600
Diffstat (limited to 'src/gui/ignorelisteditor.cpp')
-rw-r--r--src/gui/ignorelisteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ignorelisteditor.cpp b/src/gui/ignorelisteditor.cpp
index e1f5bccef..d21cd0d87 100644
--- a/src/gui/ignorelisteditor.cpp
+++ b/src/gui/ignorelisteditor.cpp
@@ -57,6 +57,7 @@ IgnoreListEditor::IgnoreListEditor(QWidget *parent) :
connect(ui->removePushButton, SIGNAL(clicked()), SLOT(slotRemoveCurrentItem()));
connect(ui->addPushButton, SIGNAL(clicked()), SLOT(slotAddPattern()));
+ ui->tableWidget->resizeColumnsToContents();
ui->tableWidget->horizontalHeader()->setResizeMode(patternCol, QHeaderView::Stretch);
ui->tableWidget->verticalHeader()->setVisible(false);