Tim Scharbius
July 12th, 2010, 01:15 PM
Trying to make a color button at bottom left of screen and black & white button at bottom right. What would approx. Values be for top, bottom, left and right?
Thanks!!!
alexsiskahn
July 12th, 2010, 01:18 PM
what screen resolution do you have?
Tim Scharbius
July 12th, 2010, 08:08 PM
1024 x 768 Thanks!
Chris Breeze
July 13th, 2010, 07:14 AM
If the screen resolution is 1024x768 the top of the screen has a value of 0 and the bottom will be 767. The left of the screen has a value of 0 and the right will be 1023.
To add a button which starts in the top left and occupies 1/4 of the width and height of the screen you would use the following values:
Left=0, Top=0, Right=255, Bottom=191
To add a button which starts in the bottom right and occupies 1/4 of the width and height of the screen you would use the following values:
Left=768, Top=576, Right=1023, Bottom=767
Powered by vBulletin™ Version 4.1.2 Copyright © 2011 vBulletin Solutions, Inc. All rights reserved.