Jump to content

Best way to create a GUI that fits perfectly on every screen?


Damein
 Share

Recommended Posts

Alright, so I want to create a GUI that I have the exact placement of everything on every PC.

I assumed I could do this via @DesktopWidth and @DesktopHeight and then minus some things. But then I realized that each size will be different depending on the resolution and the minuses will need to vary. Is there a way to actually achieve this without having to set an exact size on the GUI's height/width.

MCR.jpg?t=1286371579

Most recent sig. I made

Quick Launcher W/ Profiles Topic Movie Database Topic & Website | LiveStreamer Pro Website | YouTube Stand-Alone Playlist Manager: Topic | Weather Desktop Widget: Topic | Flash Memory Game: Topic | Volume Control With Mouse / iTunes Hotkeys: Topic | Weather program: Topic | Paws & Tales radio drama podcast mini-player: Topic | Quick Math Calculations: Topic

Link to comment
Share on other sites

If you don't want it full screen, you could use percentages of the desktop width/height.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Well $WS_MAXIMIZE will still always be diffrent sizes depending on resolution so its basacally the same issue. yes you could add controlls using persentages (you need to calculate)

One way i go about it is i make a fixed size Gui add controlls, set resize options for the controls and change the Gui's size to the desired size.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...