Norhy Posted January 5, 2013 Share Posted January 5, 2013 Hey guys. I have a Text label attached to a gui Tab, however when i have a long text, the rest of the text is not shown. I mean the text is not visible in the GUI, because it is too long. My code: guiCreateLabel( 0.02, 0.04, 0.94, 0.92, "This gamemode is based on the Demolition Derby game, Flatout and Flatout 2. We have some custom Vehicle models from this game, also we have simple Demolition Derby maps. In our maps, there are no fixes, only nitro for higher Damage. In real life, you couldn't repair your vehicle by just driving over a fix thingy, so you'll have to take care of your car.", true, tabHelp ) How to fix this? Link to comment
TAPL Posted January 5, 2013 Share Posted January 5, 2013 You need to increase the width. Link to comment
Norhy Posted January 5, 2013 Author Share Posted January 5, 2013 I think that you didn't understood. I mean that i want to appear the text on the next line, i don't want 1 line but several ones. Link to comment
GTX Posted January 5, 2013 Share Posted January 5, 2013 theLabel = guiCreateLabel( 0.02, 0.04, 0.94, 0.92, "This gamemode is based on the Demolition Derby game, Flatout and Flatout 2. We have some custom Vehicle models from this game, also we have simple Demolition Derby maps. In our maps, there are no fixes, only nitro for higher Damage. In real life, you couldn't repair your vehicle by just driving over a fix thingy, so you'll have to take care of your car.", true, tabHelp ) guiLabelSetHorizontalAlign(theLabel, "left", true) 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