DarkLink Posted July 15, 2012 Share Posted July 15, 2012 Hi there , I am having some problem over here.. I created a label using guiCreateLabel, and used as parent a gui tab panel of a window.. but the text doenst appear all, because when it reaches the right side of the tab panel, it doesnt show the rest, do u understand? I tryed to moveToFront my label using guiBringToFront ( https://wiki.multitheftauto.com/wiki/GuiBringToFront ) , but didnt work, can someone help me? Thanks alot! Link to comment
TAPL Posted July 15, 2012 Share Posted July 15, 2012 local theLabel = guiCreateLabel() guiSetProperty(theLabel, "AlwaysOnTop", "true") Link to comment
DarkLink Posted July 15, 2012 Author Share Posted July 15, 2012 local theLabel = guiCreateLabel() guiSetProperty(theLabel, "AlwaysOnTop", "true") Thanks for your reply, but still not working, look the image: http://s16.postimage.org/g16fbrbab/text.png Thanks again.. Link to comment
TAPL Posted July 15, 2012 Share Posted July 15, 2012 i thinks you should resize your gui, or you will need to create the label without parent then you will need to calculation the position according to gui window. Link to comment
DarkLink Posted July 15, 2012 Author Share Posted July 15, 2012 i thinks you should resize your gui, or you will need to create the label without parent then you will need to calculation the position according to gui window. Hmmm its possible to get the real position according to a gui element that uses relative position? Thanks! Link to comment
MIKI785 Posted July 15, 2012 Share Posted July 15, 2012 https://wiki.multitheftauto.com/wiki/GuiGetPosition ? 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