- Messages
- 36
- Country

I'm trying to do some kind of "Flight Engineer report", in which I'd like to show some preflight parameters such as ZFW, total fuel, etc. This is what I've currently got:
This is what I expect:
https://www.dropbox.com/s/5o08d4dygr3urtn/Expected.png
But this is what I get:
https://www.dropbox.com/s/fs2gkjc1a7i4233/Obtained.png
What could I be doing wrong? The bitmap is 210 x 149.
Code:
<Gauge Name="Wilco A318 reference" Version="1.0">
<Update Frequency="1"/>
<Element>
<Position X="0" Y="0"/>
<Image Name="Bkg.bmp" Bright="Yes" ImageSizes="210,149">
</Image>
</Element>
<Element>
<Position X="10" Y="10"/>
<Text X="98" Y="9" Length="14" Font="Courier New" Color="black" Bright="Yes" Adjust="Left" VerticalAdjust="Center">
<String>%ZFW (kg/lb) = %</String>
</Text>
</Element>
<Element>
<Position X="108" Y="10"/>
<Text X="35" Y="9" Length="5" Font="Courier New" Color="black" Bright="Yes" Adjust="Left" VerticalAdjust="Center">
<String>%((A:TOTAL WEIGHT, kilogram) (A:FUEL TOTAL QUANTITY WEIGHT, kilogram) -)%!5d!</String>
</Text>
</Element>
<Element>
<Position X="143" Y="10"/>
<Text X="7" Y="9" Length="1" Font="Courier New" Color="black" Bright="Yes" Adjust="Left" VerticalAdjust="Center">
<String>%/%</String>
</Text>
</Element>
<Element>
<Position X="150" Y="10"/>
<Text X="42" Y="9" Length="6" Font="Courier New" Color="black" Bright="Yes" Adjust="Left" VerticalAdjust="Center">
<String>%((A:TOTAL WEIGHT, pound) (A:FUEL TOTAL QUANTITY WEIGHT, pound) -)%!5d!</String>
</Text>
</Element>
</Gauge>
This is what I expect:
https://www.dropbox.com/s/5o08d4dygr3urtn/Expected.png
But this is what I get:
https://www.dropbox.com/s/fs2gkjc1a7i4233/Obtained.png
What could I be doing wrong? The bitmap is 210 x 149.
Last edited:
