Karuzo Posted January 13, 2014 Posted January 13, 2014 Hey Guys, so i was making a taxi job, and im on the GUI now. So whats my problem ? I have centered the window and i just asked myself if i have to set the position of the Labels,Buttons, etc... too ? Or will it automatically be on the position as the window ? Thanks.
Plean Posted January 13, 2014 Posted January 13, 2014 Nearly all gui element creation functions (guiCreateButton, guiCreateLabel, etc) have "parent" argument. If you set that to window, then you don't need to set the positions of the lables, buttons, etc again.
Karuzo Posted January 13, 2014 Author Posted January 13, 2014 Oh ok thank you Plean Well , if i want to use DX i have to set all positions ?
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