diff --git a/src/game/g_holmes.pas b/src/game/g_holmes.pas
index 0cac2c7aa30aa5f0b5834b11d49d0a24b37d8001..e23c43563bdc9f86ecea403d1577b74d3b2aae38 100644 (file)
--- a/src/game/g_holmes.pas
+++ b/src/game/g_holmes.pas
//winHelp.appendChild(llb);
- winHelp.flMaxSize := TLaySize.Create(trunc(getScrWdt/gh_ui_scale), trunc(getScrHgt/gh_ui_scale));
uiLayoutCtl(winHelp);
winHelp.centerInScreen();
end;
box: TUIVBox;
begin
winLayers := TUITopWindow.Create('layers');
+ winLayers.flHoriz := false;
winLayers.x0 := 10;
winLayers.y0 := 10;
winLayers.flHoriz := false;
addCheckBox(box, '~foreground', @g_rlayer_fore);
winLayers.appendChild(box);
- winLayers.flMaxSize := TLaySize.Create(trunc(getScrWdt/gh_ui_scale), trunc(getScrHgt/gh_ui_scale));
uiLayoutCtl(winLayers);
end;
box: TUIVBox;
begin
winOutlines := TUITopWindow.Create('outlines');
+ winOutlines.flHoriz := false;
winOutlines.x0 := 100;
winOutlines.y0 := 30;
winOutlines.flHoriz := false;
addCheckBox(box, 'con~tours', @g_ol_nice);
winOutlines.appendChild(box);
- winOutlines.flMaxSize := TLaySize.Create(trunc(getScrWdt/gh_ui_scale), trunc(getScrHgt/gh_ui_scale));
uiLayoutCtl(winOutlines);
end;
begin
winOptions := TUITopWindow.Create('Holmes Options');
winOptions.flHoriz := false;
+ winOptions.flHoriz := false;
winOptions.escClose := true;
box := TUIVBox.Create();
addButton(box, '~outline', toggleOutlineWindowCB);
winOptions.appendChild(box);
- winOptions.flMaxSize := TLaySize.Create(trunc(getScrWdt/gh_ui_scale), trunc(getScrHgt/gh_ui_scale));
uiLayoutCtl(winOptions);
winOptions.centerInScreen();
end;