Game Development Community

Gui Control Relative Sizing Problem

by Bryan Edds · in Torque Game Engine · 07/09/2005 (8:20 am) · 2 replies

Relative sizing works when I initially add buttons to a gui control, but if I programmatically remove those buttons then add in some different ones to replace them, it fails.

Anyone familiar with this or know how to fix it?

#1
07/10/2005 (4:17 am)
Here's my current work-around -

Just don't remove any already added gui objects. Instead, change their particulars like text, visibility, command, etc.

To me this is not a totally satisfactory fix, but it will do until I find the bug that is causing this.
#2
02/19/2009 (7:37 am)
found any fix for this? I have the same problem