Absolute values
Posted: Thu Sep 02, 2004 00:01
how do you use absolute values for size/position of items? as in, being a fixed pixel value and not relative to resolution.
Set the metrics mode to Absolute before setting the size/position.
also, how do you use values relative to the bottom/right side of the screen, instead of the top/left?
I don't think that there is currently a way change where coordinates are specifed from. As for your example, you can't do that from a layout file, unless you know the size of the image and the screen resolution being used. You can adjust the size from the code (using Absolute metrics mode) so that the window is positioned at (ScreenWidth - ImageWidth, 0), and has a size of (ImageWidth, ImageHeight).
J.W.