mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Make filename column resize to text, needed for long package names.
Previously the empty Size & Date columns resize to their headers, and the Filename column gets squashed. Also made the dialog wide enough.
This commit is contained in:
committed by
Baldur Karlsson
parent
80354228c3
commit
3b8aefa061
@@ -576,10 +576,10 @@ VirtualFileDialog::VirtualFileDialog(CaptureContext &ctx, QWidget *parent)
|
||||
|
||||
ui->fileList->sortByColumn(0, Qt::AscendingOrder);
|
||||
|
||||
ui->fileList->header()->setSectionResizeMode(0, QHeaderView::Stretch);
|
||||
ui->fileList->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents);
|
||||
ui->fileList->header()->setSectionResizeMode(2, QHeaderView::ResizeToContents);
|
||||
ui->fileList->header()->setSectionResizeMode(3, QHeaderView::ResizeToContents);
|
||||
ui->fileList->header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
|
||||
ui->fileList->header()->setSectionResizeMode(1, QHeaderView::Stretch);
|
||||
ui->fileList->header()->setSectionResizeMode(2, QHeaderView::Stretch);
|
||||
ui->fileList->header()->setSectionResizeMode(3, QHeaderView::Stretch);
|
||||
|
||||
ui->filter->addItems({tr("Executables"), tr("All Files")});
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>594</width>
|
||||
<width>750</width>
|
||||
<height>454</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user