|
T0rin Beginner
Joined: 27 Dec 2008 Posts: 14
|
Posted: Sat Dec 18, 2010 9:42 pm
Buttons with images and captions |
I'm starting to use buttons with images to represent an array of affects on my characters... I've got the buttons and images working, but I'd like to overlay a number over the image, for affect durations. However, it doesn't seem that captions work "over" an image, they'll display if I remove the image, but image and captions won't function at the same time, image always take precedence. Any way to do something like this? I really don't want to make affect images for every possible duration and swap them out every tick.
|
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Sun Dec 19, 2010 12:42 am |
Sorry, the only way would be to use different images for each one. You have either an image, or a caption, not both.
|
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sun Dec 19, 2010 11:44 pm |
You can have an image and a caption, the button just has to be big enough. Consider:
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<button autosize="false" width="60" height="60" iconleft="false" image="CIRCG" priority="10" copy="yes">
<caption>Test</caption>
</button>
</cmud> |
|
|
_________________ Asati di tempari! |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Mon Dec 20, 2010 1:33 am |
Ah! Sorry, I thought you couldn't. Good to know!
|
|
|
|
|
|