Sign in to follow this  
Followers 0
Kyler Carlson

text on 2 lines

7 posts in this topic

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



#2 ·  Posted (edited)

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

that isn't working. its wat i had first tried... i dunno y but its showing up as two boxes rather than a line break

Share this post


Link to post
Share on other sites

Yeah, I know. Would it be hard to set up the control's width, btw ? :whistle:

Share this post


Link to post
Share on other sites

um... it would mess up my gui pretty bad so i'm gonna use that as an absolute last resort. any other ideas?

Share this post


Link to post
Share on other sites

Gaahr. Use $BS_MULTILINE as button-style.

Share this post


Link to post
Share on other sites

fixed, thanks a lot!

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  
Followers 0