| 02-18-2003, 12:28 AM | #1 |
i want to make a button in a dialog box with the town name then under it info eg ...........BEACH....... A place with people all in one button is this possible? |
| 02-18-2003, 12:31 AM | #2 |
only 1 line of text on a dialog button allowed |
| 02-18-2003, 01:49 AM | #3 |
hmm u can make more but it looks ugly. looks like some text w/ a button midway through your paragraph. could make buttons which dont do anything for every sentence, but keep um short. |
| 02-18-2003, 03:57 PM | #4 |
thanks ( i posted in wrong topic) |
| 02-18-2003, 04:01 PM | #5 |
You can fit two lines of text on a dialog button pretty comfortably. By the way, does anyone know how to display multiple lines of text using a JASS string? Convert to Custom Text turns everything into "TRIGSTR_XXX". Is there something like %n or |n that can be used? |
| 02-18-2003, 06:35 PM | #6 |
It sounds silly, but I'm fairly sure you just have one line of code on two lines: make a button with text ("a button on more than one line") In this one case, jass is happy with a line of code going on to more than one line. I'm pretty sure in this one case, white space is indeed ignored. |n is for displayed messages, but I believe, if memory serves me, it will not work inside buttons or titles. |
| 02-18-2003, 06:37 PM | #7 |
you can make as many lines as you want, but the button is a fixed size it will not make its self bigger to support 2 lines. I also belive jass ignores "white" space in the code, but not 100% sure i think |n is the new line command |
