View Single Post
Old 05-25-2011, 10:07 PM   #4
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Angry

Something seems to have changed with how Anchoring works (or now how it doesn't).

Before the patch, my EQUI_TaskWnd worked perfectly fine with the following code:

Code:
<Screen item = "TASK_TaskWnd"> <ScreenID>TASK_TaskWnd</ScreenID> <!--<Font/>--> <RelativePosition>true</RelativePosition> <AutoStretch>true</AutoStretch> <LeftAnchorOffset>0</LeftAnchorOffset> <TopAnchorOffset>0</TopAnchorOffset> <RightAnchorOffset>0</RightAnchorOffset> <BottomAnchorOffset>130</BottomAnchorOffset> <LeftAnchorToLeft>true</LeftAnchorToLeft> <TopAnchorToTop>true</TopAnchorToTop> <RightAnchorToLeft>false</RightAnchorToLeft> <BottomAnchorToTop>true</BottomAnchorToTop> <Style_VScroll>false</Style_VScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_Inner</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <!-- <Pieces>TASK_TaskLabel</Pieces> --> <Pieces>TASK_TaskList</Pieces> <Pieces>TASK_TaskTimerLabel</Pieces> <Pieces>TASK_TaskTimer</Pieces> </Screen>


However, after the patch this causes a client crash and nothing listed in the uierrors.txt file.

If I change it to the following, then it works again.

Code:
<Screen item = "TASK_TaskWnd"> <ScreenID>TASK_TaskWnd</ScreenID> <!--<Font/>--> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>300</CX> <CY>130</CY> </Size> <Style_VScroll>false</Style_VScroll> <Style_Transparent>true</Style_Transparent> <DrawTemplate>WDT_Inner</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <!-- <Pieces>TASK_TaskLabel</Pieces> --> <Pieces>TASK_TaskList</Pieces> <Pieces>TASK_TaskTimerLabel</Pieces> <Pieces>TASK_TaskTimer</Pieces> </Screen>


I have had to change both my EQUI_Inventory.xml and EQUI_TaskWnd.xml files to remove any anchoring before I could get the UI to load without crashing the client. Before the patch they worked fine.

Ang.
__________________
My UI files.
Angahran is offline   Reply With Quote