This is in 1440x900 (in my resolution):
This is in 1920x1080:
I calculate the dx elements position with this:
local sx_, sy_ = guiGetScreenSize()
local sx, sy = sx_/1440, sy_/900
And i draw dx elements like this:
dxDrawRectangle(sx / 2 + 290, sy / 2 +240,850,65,tocolor(0,0,0,200))
What wrong??? How can i fix this problem??