Bandito Posted June 27, 2013 Share Posted June 27, 2013 (edited) Hi there! i have problem with gui resolution i create this button : local x,y = guiGetScreenSize ( ) GUIEditor.button[1] = guiCreateButton(x*321/1366, y*565/768, x*157/1366, y*29/768, "Hello", false, GUIEditor.staticimage[1]) 1366 - 768 My screen resolution : ) But the problem the resolution works fine for me only other screen resolution doesn't work as it should . Edited June 27, 2013 by Guest Link to comment
xXMADEXx Posted June 27, 2013 Share Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. Link to comment
Bandito Posted June 27, 2013 Author Share Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. I don't understand what you're telling me. Link to comment
bandi94 Posted June 27, 2013 Share Posted June 27, 2013 You dont need to set it for resolutions sense it haves a parent. You only need to set GUI/DX elements that dont have a parent for all resolutions. Hmmm... IDK if this is 100% true. IF you make a centered GuiWindow , and a GuiButton with parent element the created window, that dosen't mean that the button can't move inside the Window on other res. Link to comment
Bandito Posted June 27, 2013 Author Share Posted June 27, 2013 Help me please tell me how i can make it for all resolution ? Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now