How can I put two text rows on one button? It is possible?
How can I put two text rows on one button? It is possible?
Collapse
X
-
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.).--[[ Indigo Rose Software Developer ]]
Comment
-
Thanks, but the problem is that I want to move the button (which allow me to move an image and text at the same time) and by using your idea two objects will be moved (the button and the paragraph) instead of one and the computer will work slowly
Comment
-
-
Yes I have a lazy computer :lol
My desire is to appear a button with text wich contains 3 rows and on each row to be written the informations of an .ogg
Ok, I' ll use your sugesstion but tell me please how to take over the name of the artist the title and the album on different rows
To be more clear i give you a part of my program code:
tags = Audio.GetOggTags(CHANNEL_BACKGROUND);
if (tags ~= nil) then
albumtitle = tags.TITLE;
artist = tags.ARTIST;
album = tags.ALBUM;
end
Paragraph.SetText("Audio", albumtitle..artist..album);
Tanks for the tip!
Comment
-
-
Comment