Linux/MacOSX: make the benchmark dialog resize dynamically to accommodate the displayed results.
This commit is contained in:
parent
7df9724e20
commit
c9deed4686
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue