Game Development Community

GUIWindow maximize problems...

by Davis Ray Sickmon, Jr · in Torque Game Engine · 07/25/2002 (11:55 am) · 0 replies

Heya all...

Well, I've got a kinda silly question - but it's one I can't seem to find a solution to.

I'm making use of quite a few GUIWindows attached to a GuiControl - like so:

new GuiControl(aboutDlg) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "376 303";
minExtent = "8 8";
visible = "1";
helpTag = "0";

new GuiWindowCtrl() {
profile = "GuiWindowProfile";
horizSizing = "center";
vertSizing = "center";
position = "132 88";
extent = "376 303";
minExtent = "8 8";
visible = "1";
helpTag = "0";
text = "About...";
maxLength = "255";
resizeWidth = "0";
resizeHeight = "0";
canMove = "1";
canClose = "1";
canMinimize = "0";
canMaximize = "0";
minSize = "50 50";
closeCommand = "Canvas.popDialog(aboutDlg);";

Well, the problem is that the window tends to maximize it's self... sometimes. Sometimes it doesn't. I'm trying to make it NOT maximize when canvas.pushdialog(aboutDlg); is called.

I dug through the forums and resources, but no dice - anyone else seen this behavior, and better yet, what's the cure? (Or am I doing the wrong thing by doing pushdialog and not know it?)