i understand how to stretch a bmap up to the actual screen size
if the bmap should have the screen size
like this
Code:
main_pan.scale_x = screen_size.x / bmap_width(main_tga);
 main_pan.scale_y = screen_size.y / bmap_height(main_tga);



but how can i adjust a panel with 600*600 ?

i mean the actual resolution is
1280*1024 and the bmap have 600*800
now i change the resolution and i want to adapt the bmap