Chronic Posted December 26, 2013 Share 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 Link to comment
Saml1er Posted December 26, 2013 Share Posted December 26, 2013 What exactly do you want to fix? Link to comment
Chronic Posted December 26, 2013 Author Share Posted December 26, 2013 I want 'yo' to be at the top of the edit box, for some reason it is in the middle. Link to comment
johny46 Posted December 26, 2013 Share Posted December 26, 2013 https://wiki.multitheftauto.com/wiki/GuiCreateMemo Link to comment
al-Kobra Posted December 26, 2013 Share Posted December 26, 2013 create it with gui editor script Link to comment
Chronic Posted December 26, 2013 Author Share Posted December 26, 2013 https://wiki.multitheftauto.com/wiki/GuiCreateMemo Thanks, it works 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