mirror of
https://git.do.srb2.org/STJr/ZoneBuilder.git
synced 2024-11-10 14:51:52 +00:00
Prevent thing flags window (when finding) from being too small
This commit is contained in:
parent
5aa089590b
commit
7c05fa7787
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
if(flagswidth != newflagswidth) this.Width += (newflagswidth - flagswidth);
|
||||
if(flagsheight != newflagsheight) this.Height += (newflagsheight - flagsheight);
|
||||
|
||||
if (this.Width < 224) this.Width = 224; // prevent window from being too small to fit OK/Cancel buttons
|
||||
|
||||
// Parse the value string and check the boxes if necessary
|
||||
if (!string.IsNullOrEmpty(value.Trim()))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue