Posted By: Elektron
Panel do not center - 03/21/10 03:55
I want a centred panel, idependently of screen ratio.
I tried this:
But, it shows bitmap on left upper corner.
P.S. Please any moderator if it is a engine bug move this thread for proper forum.
Thanks in advance
I tried this:
Code:
var panel_pos_x=screen_size.x/2-50; var panel_pos_y=screen_size.y/2-25; PANEL* splash_panel = pan_create (" pos_x=panel_pos_x; pos_y=panel_pos_y; bmap=logo16.bmp;",1); set(splash_panel,SHOW); wait(-5); ptr_remove(* splash_panel);
But, it shows bitmap on left upper corner.
P.S. Please any moderator if it is a engine bug move this thread for proper forum.
Thanks in advance