Page 1 of 1
Dumb newbie question

Posted:
Fri Mar 14, 2003 3:04 am
by WebbPA
Would a kind panel designer whiz mind educating me? I want to move the Lear default GPS window from the right (covering up all the buttons, etc.) to here. The original coordinates (default) are :
[Window02]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,250
which is pretty much gibberish to me. Any help would be appreciated.
Hmmm... can't figure out how to insert the picture, anyway, what I want to do is move it and resize it so it covers up the engine gauges in the middle. More simply, what do
size_mm=150,250
position=8
do? I have a vague idea of bitmapping coordinates.
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 3:19 am
by Hagar
The secret is in the position= line.
This can be numbered from 0 thru 8. The pop-up window will display like this.
0
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 3:41 am
by WebbPA
Thanks, I'll poke around with that and see what I can do. But a picture is worth a thousand words - how can I upload a picture? Do I have to post it on my own site then link to it?
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 3:45 am
by BFMF
Just click on 'Upload Images' at the top of the forum webpage under the banners where you can upload your images, then you can link to them

Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 3:58 am
by WebbPA
There we go.

So how do I make it permanent?
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 5:06 am
by Hagar
Well I thought my description + the little tute would explain it. It's really not difficult. Try this.
[Window02]
size_mm=150,250
windowsize_ratio=2.0
position=7
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,250
I marked the modified Panel.cfg entries/values in red. You will need to experiment with the ratio.
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 2:05 pm
by WebbPA
Thanks. I'lll let you know how it works out.
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 2:21 pm
by Hagar
I showed you the "quick & dirty" method. It usually does the trick. An exact fit as in your shot is a tad more complicated. The size of the window is defined in the size_mm= line. This matches the size of the gauge. The values are in pixels, horizontally & vertically.
You can change the depth of the gauge + window like this. Again, you will need to experiment with the value.
[Window02]
size_mm=150,200
windowsize_ratio=2.0
position=7
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,200
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 3:52 pm
by WebbPA
I futzed around for a few minutes and was able to produce this. 2.0 ratio was way too big. Position 7 seems to leave it in the middle of the screen no matter what else I do. Since I accomplished my original goal of moving it so it doesn't cover the buttons I should be happy.
[Window02]
size_mm=224,247
windowsize_ratio=.85
position=7
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL
gauge00=gps!gps,0,0,224,247
[img]http://www.simviation.com/yabbuploads/untitled.jpg
[/img]
Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 4:03 pm
by WebbPA
Here's the picture.

Re: Dumb newbie question

Posted:
Fri Mar 14, 2003 4:24 pm
by Hagar
OK. As long as you're happy. ;)
The position= line is actually a left-over from FS98 still used on the M$ default panels. The positions are left right or centre as I tried to show in the little table in my first reply. That's what I meant by "quick & dirty".
It is possible to position a pop-up window more accurately but that's much more complicated. If you wished to do that it would be easier to use a panel design program.