I have my inventory window exactly how I want it, except the Skill button keep fubaring and I have no clue why. Below is a copy of the XML for it and my Destroy button, which is working just fine. The Skill button appears halfway across my screen and completely inactive...
Quote:
Skill Code--------
<Button item="IW_Skills">
<ScreenID>IW_Skills</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>True</RelativePosition>
<Location>
<X>260</X>
<Y>123</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Skills</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
<BottomAnchorToTop>True</BottomAnchorToTop>
<AutoStretch>False</AutoStretch>
<Font>2</Font>
</Button>
Destroy Code------------
<Button item="IW_Destroy">
<ScreenID>IW_Destroy</ScreenID>
<!--<Font>3</Font>-->
<RelativePosition>true</RelativePosition>
<Location>
<X>60</X>
<Y>123</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<Style_Transparent>false</Style_Transparent>
<!--<TooltipReference/>-->
<Style_Checkbox>false</Style_Checkbox>
<!--<RadioGroup/>-->
<Text>Destroy</Text>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<ButtonDrawTemplate>
<Normal>A_BtnNormal</Normal>
<Pressed>A_BtnPressed</Pressed>
<Flyby>A_BtnFlyby</Flyby>
<Disabled>A_BtnDisabled</Disabled>
<PressedFlyby>A_BtnPressedFlyby</PressedFlyby>
</ButtonDrawTemplate>
<Font>2</Font>
</Button>
|
*edit* I thought the...
<BottomAnchorToTop>True</BottomAnchorToTop>
<AutoStretch>False</AutoStretch>
near the end might have been screwing with it, but it does the same thing without it. /boggle