mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
- hide the additional parameters for now, this needs to be added in later
This commit is contained in:
parent
4aee4fd187
commit
fde6c863d1
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue