jkub Posted October 9, 2011 Share Posted October 9, 2011 I've been moving lately towards a notion of using the chat box a little less for resource messages and trying to use GUI text to say important messages so the chatbox does not get spammed all the time. I am having a major problem though, I find gui labels more professional and aesthetically pleasing to the eye. But when long messages are put into a label in a small compact gui window the text just stops at the end of the label box instead of going down to another line, sort of like it would in a memo. I want to use gui labels but I have no idea on how to make them wrap down to another line when the text gets too long to display. Can anyone help me with this please? Thanks Link to comment
Castillo Posted October 9, 2011 Share Posted October 9, 2011 If I'm right, GUI-labels doesn't has word wrapping property. Link to comment
jkub Posted October 9, 2011 Author Share Posted October 9, 2011 If I'm right, GUI-labels doesn't has word wrapping property. If there is no way to wrap a GUI-label (that isn't ridiculously hard) then how would I go about scrolling it like a marquee? I have seen this done in other servers. Link to comment
Castillo Posted October 9, 2011 Share Posted October 9, 2011 I don't know, maybe you could count the lenght of the text and after X you make a new line ( \n )? Link to comment
Aibo Posted October 9, 2011 Share Posted October 9, 2011 guiLabelSetHorizontalAlign see wordwrap argument. Link to comment
Castillo Posted October 9, 2011 Share Posted October 9, 2011 o_O, I didn't know about that argument . Link to comment
jkub Posted October 10, 2011 Author Share Posted October 10, 2011 So I can just use this guiLabelSetHorizontalAlign function to wrap the GUI labels? 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