I swear there was a post on this before but I can't find anything. Basically I was curious if anyone knew what raw text to use in order to resize an image within a text value. I'm creating a tooltip on a custom button dialog item and I want to embed a small icon inside of the tooltip text. All the tooltips are being generated through triggers programatically based on record fields and I wanted to change the embedded image size to be small. Also, if anyone knows of a list of all the embedded raw text elements / attributes, that would be useful. Thanks in advance.
< IMG SRC="test.dds" WIDTH=100 HEIGHT=100 ALT="test"> (Without the space).
Src would be the directory EX: "assets/textures/black.dds"
Then W/H and ALT is the text that appears if the image does not load (I am not sure if sc2 supports this, if the above does not work then try < IMG SRC="test.dds" WIDTH=100 HEIGHT=100>).
To center an image, it would be < center> < /center> without the spaces.
Thank's obliviron. The only thing I had to change was that I used quotes around the width and height values. In addition, I used a self-closing style tag for <IMG>.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I swear there was a post on this before but I can't find anything. Basically I was curious if anyone knew what raw text to use in order to resize an image within a text value. I'm creating a tooltip on a custom button dialog item and I want to embed a small icon inside of the tooltip text. All the tooltips are being generated through triggers programatically based on record fields and I wanted to change the embedded image size to be small. Also, if anyone knows of a list of all the embedded raw text elements / attributes, that would be useful. Thanks in advance.
< IMG SRC="test.dds" WIDTH=100 HEIGHT=100 ALT="test"> (Without the space).
Src would be the directory EX: "assets/textures/black.dds"
Then W/H and ALT is the text that appears if the image does not load (I am not sure if sc2 supports this, if the above does not work then try < IMG SRC="test.dds" WIDTH=100 HEIGHT=100>).
To center an image, it would be < center> < /center> without the spaces.
@obliviron: Go
Thank's obliviron. The only thing I had to change was that I used quotes around the width and height values. In addition, I used a self-closing style tag for <IMG>.