Chronic Posted December 26, 2013 Posted December 26, 2013 (edited) For some reason this happens: When I use this code: local sx,sy = guiGetScreenSize ( ) local cjGUI = guiCreateWindow ( sx/3.8, sy/3.8, sx/2, sy/2, "sup", false ) local cjEdit = guiCreateEdit ( sx/50, sy/20, sx/2.2, sy/3, "yo", false, cjGUI ) guiCreateButton ( sx/50, sy/2.5, sx/5, sy/3, "Accept", false, cjGUI ) guiCreateButton ( sx/3.65, sy/2.5, sx/5, sy/2.2, "Cancel", false, cjGUI ) guiEditSetReadOnly ( cjEdit, true ) Does anyone know how to fix this? Edited December 26, 2013 by Guest
Chronic Posted December 26, 2013 Author Posted December 26, 2013 I want 'yo' to be at the top of the edit box, for some reason it is in the middle.
johny46 Posted December 26, 2013 Posted December 26, 2013 https://wiki.multitheftauto.com/wiki/GuiCreateMemo
Chronic Posted December 26, 2013 Author Posted December 26, 2013 https://wiki.multitheftauto.com/wiki/GuiCreateMemo Thanks, it works
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