Jump to content

How do I make my GUI fit all resolutions


micheal1230

Recommended Posts

Posted (edited)

Well I want to know how to make my GUI fit every resolution, please dont bother sending me to the wiki because I read it and it doesn't make sense. Could you please show me. Here is my GUI, My resolution is 1360x768

addCommandHandler("disappear",theLuaThatWasHere) 

Edited by Guest
Posted

Instead of using absolute positions, use relative positions.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

if u read the wiki it tells u, since u clearly missed it or it didnt make sense, here it is again:

relative: This is whether sizes and positioning are relative. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If false, then the size and co-ordinates are based on client's resolution, accessible using guiGetScreenSize.

ScoobySig.gif

[UVA]Scooby

Founder Of UVA - Ultimate Vice Assassins

http://www.uvaclan.com/

Posted

Right click the GUI, search for: "Relative" and "Absolute", choose "Relative".

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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
  • Recently Browsing   0 members

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