View Single Post
  #14  
Unread 03-29-2005, 08:52 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Quote:
Originally Posted by Zonx
Styles: Renaming any style in UIBuilder updates all reference to that style. Styles that reference objects outside their namespace, copy/pasted to another area, preserve their references. Styles that reference objects within their namespace, copy/pasted to another area will look for objects in the new location.
Amazingly, if you rename a style to match the name of another style, then rename the other same-named style, the elements linked to either style stay linked to the correct styles.

Why would you do that you might ask? You suddenly realize you've placed 16 elements using 16 different styles (HO Wheel anyone?) in the reverse order and it's easier to just rename the elements & styles than it is to reposition all of them. Starting at the end of the list and renaming (so that for a few minutes you have two style0s, two styles 1s, etc.) won't mess up the elements associated with the styles in the long run.
__________________
Reply With Quote