I have one of those in my master list. I can't recall the math to get all the ratios but it's some thread somewhere that I started. Probably in Starting or Scripting section. The only problem is that that code is for plain color panels and nothing with details. You'll need a unique set of panel art for each support resolution if you want to keep everythign the same proportion from resolution to resolution and don't want any pixelation. If you just resize in realtime it can lead to bad artifacting unless it's just a plain flat texture.