- hide additional parameters entry for now

This commit is contained in:
Rachael Alexanderson 2024-04-21 09:14:26 -04:00
parent d8bd9189f8
commit 54b274ab07
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0

View file

@ -85,6 +85,7 @@ void PlayGamePage::OnGeometryChanged()
y = GetHeight() - 10.0; y = GetHeight() - 10.0;
#if 0 // NYI: Additional Parameters
double editHeight = 24.0; double editHeight = 24.0;
y -= editHeight; y -= editHeight;
ParametersEdit->SetFrameGeometry(0.0, y, GetWidth(), editHeight); ParametersEdit->SetFrameGeometry(0.0, y, GetWidth(), editHeight);
@ -94,6 +95,7 @@ void PlayGamePage::OnGeometryChanged()
y -= labelHeight; y -= labelHeight;
ParametersLabel->SetFrameGeometry(0.0, y, GetWidth(), labelHeight); ParametersLabel->SetFrameGeometry(0.0, y, GetWidth(), labelHeight);
y -= 10.0; y -= 10.0;
#endif
double listViewBottom = y - 10.0; double listViewBottom = y - 10.0;
GamesList->SetFrameGeometry(0.0, listViewTop, GetWidth(), std::max(listViewBottom - listViewTop, 0.0)); GamesList->SetFrameGeometry(0.0, listViewTop, GetWidth(), std::max(listViewBottom - listViewTop, 0.0));