Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trouble with gauge sizes in Panel.cfg

Featured Replies

I've create a new gauge for the default FS2004 737.The bitmap for the gauge is 356 pixels wide by 215 pixels high as was created using Paint Shop.The gauge sits in its own "separate window" on the FS screen.I'm having a terrible time getting the gauge and window to size in accordance with the "actual" size of the gauge.I've tried many combinations in addition to studying the Panels SDK.How would I enter this in the panel cfg?Thanks

Hi Brian,Assuming your don't use a background bitmap (since your gauge has it's own bitmap and there's only one gauge in the window), try the following:[Window**]size_mm=356,215window_size= xxx, yyywindow_pos= xxx, yyybackground_color=16,16,16visible=0ident=???? gauge00=yourgauges!gauge,0,0,356,215window_pos: 0.0,0.0 is top-left corner, 1.0,1.0 is bottom-right.window_size: the dimensions of the window E.g. window_size= 0.3, 0.4 makes the window 30% screenwidth and 40% screenHeigth, independant of the bitmap resolution used in the main panel window).So, given the normal screen proportions (4:3), for your gauge this would mean (if your intention is to keep the proportions of 356*215 on a 1024*768 scale):window_size= 0.35, 0.28(0.28 = 215 / 768)(0.35 = 356 / 1024)Rob

  • Author

Hi,In case of the other way (Bitmap is gauge background, using xml):gaugexx=!gaugename,aaa(X position),bbb(Y pos.),ccc(Width),ddd(Height).But mind: all bitmaps must have the correct size in relation to each other.You cannot use anymore the command: Jan"Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.