Kyler Carlson Posted August 1, 2006 Share Posted August 1, 2006 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) Link to comment Share on other sites More sharing options...
Helge Posted August 1, 2006 Share Posted August 1, 2006 (edited) Either do the font-size smaller (GUICtrlSetFont) or make the control wider. Simple 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 August 1, 2006 by Helge Link to comment Share on other sites More sharing options...
Kyler Carlson Posted August 1, 2006 Author Share Posted August 1, 2006 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 Link to comment Share on other sites More sharing options...
Helge Posted August 1, 2006 Share Posted August 1, 2006 Yeah, I know. Would it be hard to set up the control's width, btw ? Link to comment Share on other sites More sharing options...
Kyler Carlson Posted August 1, 2006 Author Share Posted August 1, 2006 um... it would mess up my gui pretty bad so i'm gonna use that as an absolute last resort. any other ideas? Link to comment Share on other sites More sharing options...
Helge Posted August 1, 2006 Share Posted August 1, 2006 Gaahr. Use $BS_MULTILINE as button-style. Link to comment Share on other sites More sharing options...
Kyler Carlson Posted August 1, 2006 Author Share Posted August 1, 2006 fixed, thanks a lot! Link to comment Share on other sites More sharing options...
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