EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-18-2010, 05:40 PM
EQAditu's Avatar
EQAditu EQAditu is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 256
Default

Pack locations refer to how an control will move its own location in relation to it's parent's bounds. Though I cannot say that I understand what "right,bottom" would mean because that doesn't follow the format the UI builder documentation specifies. It leaves out information and uses different keywords.

If you wanted a button to remain centered near the bottom within a resizable window, you could use "CPC,FFF". I think. This is sort of going off of memory of how it works.

It stands for this:
  • C - Center horizontal point of the child control
  • P - Proportionally (like a percentage) relocated
  • C - Based on the Center of the parent control
  • F - The Far vertical edge of the child control
  • F - Using a Fixed (number of pixels) relationship to the parent control's edge
  • F - Using the Far edge of the parent control
Regardless of the above, you still must set the location of the control in pixels to be positioned in the center of the parent control. (Still based on the upper-left corner of the child control) You cannot give locations as a wildcard.

Last edited by EQAditu : 01-18-2010 at 05:45 PM.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:51 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI