Menu-VGUI: Class VGUIWindow should not be resizable by default

This commit is contained in:
Marco Cawthorne 2023-03-27 01:55:53 -07:00
parent 5843fa3ef1
commit c475ee4afc
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
2 changed files with 2 additions and 3 deletions

View File

@ -247,7 +247,7 @@ void UI_ModelViewer_Show ( void )
winViewer.SetSize( [ 550, 390 ] );
winViewer.SetMinSize( [ 430, 256 ] );
winViewer.SetMaxSize( [ 9999, 9999 ] );
winViewer.SetStyleMask( VGUIWindowStyleDefault );
winViewer.SetStyleMask( VGUIWindowStyleDefault | VGUIWindowResizeable );
winViewer.SetPos( [ 172, 64 ] );
winViewer.SetIcon( "textures/ui/icons/hdd" );
winViewer.CallOnResize( UI_ModelViewer_Resize );

View File

@ -33,8 +33,7 @@ typedef enumflags
#define VGUIWindowStyleDefault VGUIWindowMovable | \
VGUIWindowTitled | \
VGUIWindowClosable | \
VGUIWindowMiniaturizable | \
VGUIWindowResizeable
VGUIWindowMiniaturizable
/** Top-most window class in VGUILib */
class VGUIWindow:VGUIWidget