View Single Post
  #39  
Unread 12-10-2008, 08:01 PM
SOE-Rothgar SOE-Rothgar is offline
A Griffon
Yes this person is from Daybreak!
 
Join Date: Aug 2007
Server: Unrest
Posts: 208
Default

I used OnSize() in a cool way today. We have a new UI element coming out soon that we wanted to be resizable but it contains a UIText element on it that we don't want cut off. Its now scripted to use a smaller font size if the width of the element gets too small.

-- Edited --

Ok, I tore out the FixedRatio stuff I already mentioned. It had some strange side-effects that didn't look polished and I found another way to achieve the same result without putting a ton more time into making FixedRatio work right.

Last edited by SOE-Rothgar : 12-10-2008 at 09:14 PM.
Reply With Quote