mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Linux/MacOSX: make the benchmark dialog resize dynamically to accommodate the displayed results.
This commit is contained in:
@@ -87,6 +87,11 @@ namespace VeraCrypt
|
|||||||
}
|
}
|
||||||
|
|
||||||
BenchmarkListCtrl->SetColumnWidth(0, wxLIST_AUTOSIZE);
|
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)
|
void BenchmarkDialog::DoBenchmark (list<BenchmarkResult>& results, Buffer& buffer)
|
||||||
|
|||||||
Reference in New Issue
Block a user