VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/Forms/BenchmarkDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main/Forms/BenchmarkDialog.cpp')
-rw-r--r--src/Main/Forms/BenchmarkDialog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main/Forms/BenchmarkDialog.cpp b/src/Main/Forms/BenchmarkDialog.cpp
index 66a45b1b..440bc1d9 100644
--- a/src/Main/Forms/BenchmarkDialog.cpp
+++ b/src/Main/Forms/BenchmarkDialog.cpp
@@ -87,6 +87,11 @@ namespace VeraCrypt
}
BenchmarkListCtrl->SetColumnWidth(0, wxLIST_AUTOSIZE);
+ wxSize minSize = BenchmarkListCtrl->GetBestSize ();
+ minSize.IncBy (10, 20);
+ BenchmarkListCtrl->SetMinSize(minSize);
+ Layout ();
+ Fit();
}
void BenchmarkDialog::DoBenchmark (list<BenchmarkResult>& results, Buffer& buffer)