sub Window_Resize { if($Window->Height() >= ($Grid->GetVirtualHeight)){ $Window->Height($Grid->GetVirtualHeight + 38); } if($Window->Width() >= ($Grid->GetVirtualWidth)){ $Window->Width($Grid->GetVirtualWidth + 12); } my ($width, $height) = ($Window->GetClientRect)[2..3]; $Grid->Resize($Window->Width(), $Window->Height()); }
In reply to Re: Win32::GUI::grid set max window size
by boat73
in thread Win32::GUI::grid set max window size
by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |