GUIMLTextCtrl Extent Problem
by Jerald Reichstein · in Technical Issues · 08/10/2005 (2:19 pm) · 0 replies
I've been having this problem where I have several GUIMLTextCtrl objects displayed on screen in a double column. On the next screen, I'm listing all the objects the player has selected into a single column list. Since they are GUIMLTextCtrl their extents can change from the first screen to the second if they have enough room. When I'm displaying each object, I'm basing the position of each object on the object above it.
The problem is that it is still using the extents of the compact screen instead of a possible single line of text and is causing huge gaps between each object I list. What I can't figure out is how or where torque goes to revaluate the extents because my changes seems to be based on the old extents and when it is displayed onto the screen it's extents are correct. If someone could point me to the right direction I would appreciate it.
The problem is that it is still using the extents of the compact screen instead of a possible single line of text and is causing huge gaps between each object I list. What I can't figure out is how or where torque goes to revaluate the extents because my changes seems to be based on the old extents and when it is displayed onto the screen it's extents are correct. If someone could point me to the right direction I would appreciate it.