Jump to content

GPS and other windows falling behind panel


jay_1327

Recommended Posts

I'm having an issue with a few planes where windows I bring up (GPS, throttle quadrant, etc.) fall behind the main panel when I click on it. When I remove the main 2d panel, the GPS windows are behind it. Does anyone know how to make sure the windows don't fall behind the panel??
Link to comment
Share on other sites

It can be solved by adding a line zorder=nn (nn being a number) to specific [WindowXX] sections of panel.cfg, thus defining which sections should be topmost.

Can’t remember the details right now, not at my simputer.

An example (download location) of some panels giving trouble would be helpful.

 

Wim

b727fcaptain.jpgx701captain5.jpg
Link to comment
Share on other sites

Jay, Wim is right - here's how it works:

Open your panel.cfg with Notepad and add the lines in red below:

 

//--------------------------------------------------------

[Window00]

file_1024=airbus_a321_panel_background.bmp

file_1024_night=airbus_a321_panel_background_night.bmp

size_mm=1024

position=7

visible=1

ident=MAIN_PANEL

zorder=00

 

[Window01]

size_mm=246,296

position=8

visible=0

BACKGROUND_COLOR=16,16,16

ident=RADIO_STACK_PANEL

zorder=01

 

[Window02]

size_mm=456,378

window_size=0.5

position=8

BACKGROUND_COLOR=0,0,0

VISIBLE=0

ident=GPS_PANEL

zorder=02

 

And so on... you get the idea.

Tim Wright "The older I get, the better I was..."

Xbox Series X, Asus Prime H510M-K, Intel Core i5-11400F 4.40GHz, 16Gb DDR4 3200, 2TB WD Black NVME SSD, 1TB Samsung SATA SSD

NVidia RTX3060 Ti 8Gb, Logitech Flight Yoke System, CH Pro Pedals, Acer K272HL 27", Windows 11 Home x64

Link to comment
Share on other sites

Thanks, Tim & Wim!

 

I can remember doing something like that ages ago with another panel but forgot about zorder. It was driving me crazy! The panel I downloaded didn't have a "zorder=" so I had nothing to jog my memory. The panel is fixed. I just put my main panel as zorder=00.

 

Calm skies,

 

Julian

 

**EDIT**

 

For anyone having the same issue, remember to have 2 numbers in the "zorder=nn" field. For example "zorder=00" or "zorder=01" are correct. "zorder=0" or "zorder=1" would be incorrect.

Edited by jay_1327
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...