Setting Top,Left,Height,Width via script
I just fixed a bug setting these properties in UI Script.
The problem occurred if you tried to set the property equal to the result of an expression, for example:
parent.Control.Height = parent.Control.Height + parent.OtherControl.Height
The result of a numeric expression is returned as a float, but these 4 properties were parsing the value as a long which was not liking the fact that the value had a period in it.
This fix will go out with GU48 along with some more UI changes to keep you busy as if you guys didn't have enough to do. =)
|