View Single Post
  #1  
Unread 08-05-2008, 04:58 PM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default 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. =)
Reply With Quote