View Single Post
Old 07-08-2004, 06:30 PM   #1
Thromin
A Fire Beetle
 
Join Date: Sep 2002
Posts: 2
Default Making a window resizable -- X and Y axis

I cannot figure out how to make a PetInfo window I am customizing resize along both the X and Y axis. I know that some windows can be resized in both directions (e.g. the ShortDurationBuffs window) so I'm hoping that I can do the same for my pet window.

When I put the following line into the xml file:

<Style_Sizable>true</Style_Sizable>

It allows the window to be resized in the X direction but not the Y direction. Any help would be appreciated.

For reference, my entire Screen item for this window is below (when I previewed, I noticed it does not add any whitespace, which is annoying, but unfortunately I do not know how to fix that here. Sorry):

<Screen item = "PetInfoWindow">
<!--<ScreenID/>-->
<RelativePosition>false</RelativePosition>
<Location>
<X>50</X>
<Y>160</Y>
</Location>
<Size>
<CX>154</CX>
<CY>142</CY>
</Size>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Text>Pet Info</Text>
<DrawTemplate>WDT_Def</DrawTemplate>
<Style_Titlebar>true</Style_Titlebar>
<Style_Closebox>true</Style_Closebox>
<Style_Minimizebox>true</Style_Minimizebox>
<Style_Border>true</Style_Border>
<Style_Sizable>true</Style_Sizable>
<Pieces>PIW_Background</Pieces>
<Pieces>PIW_AttackButton</Pieces>
<Pieces>PIW_LostButton</Pieces>
<Pieces>PIW_BackButton</Pieces>
<Pieces>PIW_GuardButton</Pieces>
<Pieces>PIW_FollowButton</Pieces>
<Pieces>PIW_TauntButton</Pieces>
<Pieces>PIW_SitButton</Pieces>
<Pieces>PIW_StandButton</Pieces>
<Pieces>PIW_PetHPGauge</Pieces>
<!-- <Pieces>PIW_BuffWindow</Pieces> -->
</Screen>

</XML>
Thromin is offline   Reply With Quote