We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f1dd8d + a082da0 commit a96d302Copy full SHA for a96d302
src/library/dlgtagfetcher.cpp
@@ -299,7 +299,11 @@ void DlgTagFetcher::updateStack() {
299
}
300
301
302
- results->header()->resizeSections(QHeaderView::ResizeToContents);
+ for (int i = 0; i < results->model()->columnCount(); i++) {
303
+ results->resizeColumnToContents(i);
304
+ int sectionSize = (results->columnWidth(i) + 10);
305
+ results->header()->resizeSection(i, sectionSize);
306
+ }
307
308
// Find the item that was selected last time
309
for (int i = 0; i < results->model()->rowCount(); ++i) {
src/library/dlgtagfetcher.ui
@@ -46,7 +46,7 @@
46
<number>50</number>
47
</attribute>
48
<attribute name="headerStretchLastSection">
49
- <bool>false</bool>
+ <bool>true</bool>
50
51
<column>
52
<property name="text">
0 commit comments