PDA

View Full Version : Quick Question about button text to 2nd line


nals
03-22-2007, 06:44 PM
someone please tell me, on button text how can i bring it to second line?

1 button with 2 rows of text. can do this or I have to add a lable for the button to make the second line?

hope this question is clear, if not i have to get a screenshot and send.

:huh

RizlaUK
03-22-2007, 06:59 PM
its not possable to have 2 or more lines of text in a button, you can use a label or paragraph to give the look of it being button text but disable it (lable/paragraph) or you wont be able to click the button,

someone (Roboblue i think) posted a example a while back wich had 2 buttons that respond to one mouse click, and also gave the effect of 2 lines of text on a button, i had a qiuck look but couldent find it, you will have to search for it yourself, lol

nals
03-22-2007, 07:28 PM
Found it RizlaUK , That was Lorne's post :

Use a button with no text, and place a Paragraph object on top of it. You can put as many lines as you want that way.

Configure the paragraph object like so:

Set both of the paragraph object's scroll bars to "Off."
Set the Disabled state color to the color you want for the text.
On the Attributes tab, turn off the "Enabled" option.


Disabling the Paragraph object allows the button underneath it to still respond to mouse events (On Click/On Enter/etc.).

Thank to Lorne, and a thank to RizlaUK for the tip :yes
All done !