|
Hazram Wanderer
Joined: 24 May 2005 Posts: 71
|
Posted: Fri Aug 05, 2011 10:33 pm
Custom Button images |
I'm having trouble displaying custom images on buttons.
<button autosize="false" width="100" height="100" iconleft="false" image="mooWaxQ.bmp" priority="10" id="37">
<caption>Test</caption>
</button>
I made moonWaxQ.bmp myself - it's a 14x14 pixel image. I tried with the file located in the default CMUD documents directory (and a few other places). I also read a forum thread that said the path should be in the filename, so I tried using the full path, both with the windows ""My Documents" alias for the Users\UserName\Documents directory, and just using "Documents" instead.
So what am I doing wrong? |
|
|
|
Arde Enchanter
Joined: 09 Sep 2007 Posts: 605
|
Posted: Fri Aug 12, 2011 8:00 am |
What I did (my step-by-step check-up):
1) Open untitled session and create a button.
2) Locate a *.bmp file and open it in Explorer. I use Win7 so I can click in the address line to get the real path to that image (not decorated with "My Docs", "My Computer"). If your Windows version is different, you can right-click on a file, select Properties, and copy real path from there
3) Paste real path in Image name field and add a filename
4) Click Save to see the result |
|
_________________ My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|