PDA

View Full Version : a Panel.cfg question for the panel gurus



jeansy
August 23rd, 2012, 08:41
Its late here and I cant remember how to or if its possible to add a second gauge to a 2d window

The problem is I would like the existing gauge on the left and the new gauge on the right without creating a new window as already the 2d windows already go up window.13

this is what i have so far

[Window05]
Background_color=16,16,16
size_mm=550,930
window_size_ratio=1.000
position=7
visible=0
ident=5004
window_size= 0.290, 0.654
window_pos= 0.010, 0.330

gauge00=XXXX(removed in case someone gets upset for posting) 0,680,550,251
gauge01=XXXX(removed in case someone gets upset for posting) 0,0,549,680

and I what I would like to add/merge

[Windowxx]
size_mm=525,386
window_size=0.44
position=2
background_color=1,1,1
visible=0
ident=11223
zorder=1
gauge00=WXR!wr_display, 81,32,364,279
gauge01=Captain_Sim.r001.P04!P04_radar, 0,0,525,386

can someone please shed some light on how to do this please

snow_white
August 23rd, 2012, 09:00
I would do one of two methos.
1) adjusting some gauges 1 and 2 to be a bit smaller.
2) keep all old size.

[Window05]
Background_color=16,16,16
size_mm=855,930 //this the the actual max window size the gauges make up
window_size_ratio=1.000
position=7
visible=0
ident=5004
window_size= 0.500, 0.654 //this wil set the window size that will be displayed.
window_pos= 0.010, 0.330

gauge01=XXXX(removed in case someone gets upset for posting) 0,0,330,410
gauge00=XXXX(removed in case someone gets upset for posting) 0,410,330,150
gauge02=WXR!wr_display, 481,32,364,279
gauge03=Captain_Sim.r001.P04!P04_radar, 411,0,525,386

I just made the gauge 1 and 2 a bit smaller to make space.

the alternative is to keep the original gauge settings then it will be something like
[Window05]
Background_color=16,16,16
size_mm=1075,930 // was 550 and adding another gauge with width of 525 will increase to 1075, the new gauge do not go past the original height so that stays as is.
window_size_ratio=1.000
position=7
visible=0
ident=5004
window_size= 0.700, 0.654 //again this is the display size
window_pos= 0.010, 0.330

gauge00=XXXX(removed in case someone gets upset for posting) 0,680,550,251
gauge01=XXXX(removed in case someone gets upset for posting) 0,0,549,680
gauge02=WXR!wr_display, 581,32,364,279
gauge03=Captain_Sim.r001.P04!P04_radar, 551,0,525,386



try that

jeansy
August 23rd, 2012, 10:19
Thanks for that

not having much luck, im now missing the gauge thats supposed to be on the top left

I might leave it for the night and try again tomorrow

snow_white
August 23rd, 2012, 14:09
2 possibilities

1) i switched gauge00 and gauge01 around as I better read teh coordinates that way
make sure they are gauge00 first and then gauge01

2) make sure you have the "," after the gauge name before the coordinates.
in your example the "," is missing.