Extent vs. MinExtent
by Rich Adam · in Torque 3D Professional · 04/22/2010 (2:18 pm) · 1 replies
What is the interaction between these two elements? I am trying to dynamically size a GuiControl based on its content. This control is being used as a container for items contained in a GuiRolloutCtrl. The actual size seems to be determined by the value of MinExtent not Extent. I see no ability to setMinExtent(), but mainly I want to understand why setting the MinExtent seems to be overriding Extent. This occurs when Extent is larger than MinExtent. I understand that if MinExtent is larger than Extent, that it would override Extent.
Torque 3D Owner Jameson Bennett
The rollout control may be messing with it in ways you aren't expecting... honestly, I gave up on them because of similar issues you are running into and rolled my own solution. Hopefully someone more familiar with their use has more info for you.