Game Development Community

[Beta 4 Bug] GuiWindowCtrl Can Still Move with "canMove" Set False

by Ryan Mounts · in Torque 3D Professional · 07/30/2009 (12:47 pm) · 0 replies

If you have a GuiWindowCtrl that is resizable but immoveable...

canMove = "0";
resizeWidth = "1";
resizeHeight = "1";

when you resize from the right or bottom edges, the window resizes properly, stopping when the minExtent is hit and the window remains in place as expected. But if you resize from the left or top edges, the window slides once you hit the minExtent.

If the window is docked to any side of the screen, this bug allows you to slide the window out of the docked position. When you click the window's title bar, however, it will jump back to it's docked position.