View Single Post
Old 06-11-2017, 07:49 PM   #1
katmandu26
Premium Member
 
Join Date: May 2015
Posts: 6
Interface Author - Click to view interfaces
Default Border around gauges?

Hey there! Thanks for your patience and answers as I poke around in my UI XML, it's definitely appreciated.

I've been working all day on rewriting the default group window. I just want something simple and easily visible on a big display, and so far I'm really happy with my result - with one exception.

I've reskinned the gauges and given them new transparency maps, but even with the new file, the gauges all have very thick borders. I want them 1-2 pixels wide like the rest of the UI, but stretching them with the xml anchors is stretching the borders on the gauges, too.

I want to continue using the anchors but my thought is that in order to do what I want, I'm going to have to hard code size and position. Am I correct or is there another way to do it? I hope this makes sense!

Here's a pic and a sample of what I'm using:



<Gauge item="GW_Gauge1">
<ScreenID>Gauge1</ScreenID>
<TextColor>
<R>240</R>
<G>240</G>
<B>240</B>
</TextColor>
<TextOffsetY>16</TextOffsetY>
<TextOffsetX>5</TextOffsetX>
<RelativePosition>true</RelativePosition>
<FillTint>
<R>220</R>
<G>0</G>
<B>0</B>
</FillTint>
<EQType>11</EQType>
<GaugeDrawTemplate>
<Fill>A_GaugeFill</Fill>
<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_GaugeEndCapRight</EndCapRight>
<Background>A_GaugeBackground</Background>
</GaugeDrawTemplate>
<GaugeOffsetY>1</GaugeOffsetY>
<AutoStretch>true</AutoStretch>
<TopAnchorOffset>0</TopAnchorOffset>
<BottomAnchorOffset>37</BottomAnchorOffset>
<LeftAnchorOffset>1</LeftAnchorOffset>
<RightAnchorToLeft>false</RightAnchorToLeft>
</Gauge>
katmandu26 is offline   Reply With Quote