Jump to content
Sign in to follow this  
Kyler Carlson

text on 2 lines

Recommended Posts

hey i think this belongs here... i'll edit my other post...

i know this is simple but i'm not finding it so... how do i get this button to have its text on 2 lines since its too long for one line?

GUICtrlCreateButton("Autofind Game", 245, 105, 105,40)

Share this post


Link to post
Share on other sites

Either do the font-size smaller (GUICtrlSetFont) or make the control wider. Simple :whistle:

Edit : crap... I misread your post. You could do this :

GUICtrlCreateButton("Autofind" & @CRLF & "Game", 245, 105, 105,40)

Edit II : crap again. CRLF doesn't work in buttons. Man, I should get some sleep.

Edited by Helge

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...