Menu-VGUI: Class VGUIWindow should not be resizable by default
This commit is contained in:
parent
5843fa3ef1
commit
c475ee4afc
2 changed files with 2 additions and 3 deletions
|
@ -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 );
|
||||
|
|
|
@ -33,8 +33,7 @@ typedef enumflags
|
|||
#define VGUIWindowStyleDefault VGUIWindowMovable | \
|
||||
VGUIWindowTitled | \
|
||||
VGUIWindowClosable | \
|
||||
VGUIWindowMiniaturizable | \
|
||||
VGUIWindowResizeable
|
||||
VGUIWindowMiniaturizable
|
||||
|
||||
/** Top-most window class in VGUILib */
|
||||
class VGUIWindow:VGUIWidget
|
||||
|
|
Loading…
Reference in a new issue