Window list dialog windows size adjustment

This commit is contained in:
Margers 2025-01-09 19:13:21 +00:00 committed by Michael Van Canneyt
parent d2df6a630c
commit 86f61918b4

View File

@ -107,7 +107,7 @@ constructor TWindowListDialog.Init;
var R,R2: TRect;
SB: PScrollBar;
begin
R.Assign(0,0,round(ScreenWidth*5/8),15);
R.Assign(0,0,Max(60,round(ScreenWidth*5/8)),Max(13,round(ScreenHeight*3/5)));
inherited Init(R, dialog_windowlist);
HelpCtx:=hcWindowList;
New(C, Init(20,10));