ok.. tats simple. if u want to place things in middle is easy.
suppose u want to place a panel in middle of screen. Use this:
panel_design.pos_x = (screen_size.x - bmap_width(panel_design.bmap))/2;
panel_design.pos_y = (screen_size.y - bmap_height(panel_design.bmap))/2;
this is for keeping in middle of screen. And as for other positions, u need to follow a ratio (proportionality) to fit things.