Posted By: JazzDude
panel position - 03/08/10 17:41
I would like a panel to always be 80 above the bottom of the full screen or the window regardless of the screen resolution.
This doesn't work:
pos_y = (screen_size.y - 80);
or
pos_y = (screen_size.y)- 80;
And this doesn't work:
var desktopHeight;
desktopHeight = sys_metrics(1); (in the main function)
pos_y = (desktopHeight -80);
or
pos_y = (desktopHeight)-80;
Any suggestions would be appreciated. Thanks.
This doesn't work:
pos_y = (screen_size.y - 80);
or
pos_y = (screen_size.y)- 80;
And this doesn't work:
var desktopHeight;
desktopHeight = sys_metrics(1); (in the main function)
pos_y = (desktopHeight -80);
or
pos_y = (desktopHeight)-80;
Any suggestions would be appreciated. Thanks.