I decided to verge off and make a new thread. There was a similar post here. However, I think most that posted to that thread have likely thought it resolved and not bothered to look again.
I have an issue as well, though it does not seem to be the same issue and the answer cannot seem to be found in that thread.
The dilemma is this:
I don't want to overlay buttons over "Dialog Item (image)" objects, because the images become too dark in color, and my fading on the buttons isn't working properly. It also seems a rather obtuse way of going about it if the <img> tag is working properly. Following the posts in that thread, I created <img> tags like so:
This is just an example, because I have a ton of these for all of the various units. However, despite this being pretty much what I found in the other thread, the images do not appear on the buttons.
Attached is how it looks in the editor, so you can see what options I have selected.
I know what the issue is NOT:
It's not a SIZE issue. I tried making the height and width of the button and the attributed on the tag to 98 and to 150 as well, neither worked
It's not a formatting issue. The tag is formatted exactly like the tag in the other thread, save for the value changes. However, I did try using the SAME EXACT tag as could be found in the other thread and it did not work.
It's not a path issue. While some of the paths I have might be invalid, for the reasons mentioned above, I know also that I should not be referring to an incorrect path, at least in referring to the Archon icon.
Your help in this matter would be deeply appreciated. All of the buttons have been added and made entirely functional which means that all that's holding me back from moving this to the next version is this image issue, since people will not like having to hover over a button in order to know which unit they're making. I may add some small things to it, but, for the most part, it's nearly ready for release and this is what is holding it back.
The html tags seems to be extremely limited there might be a way to fix it, the way I do it for my UI was to make a dialog item - image on top of that button. Just make sure that its has no tooltips so that you can click the button behind it. (put the tooltips u want in the button)
Seems to be working, Programmer, thanks. I'd still love to know how to get the HTML to work, so that I don't need to have nearly as many dialog items, but I can be content with this as it works at the very least.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I decided to verge off and make a new thread. There was a similar post here. However, I think most that posted to that thread have likely thought it resolved and not bothered to look again.
I have an issue as well, though it does not seem to be the same issue and the answer cannot seem to be found in that thread.
The dilemma is this:
I don't want to overlay buttons over "Dialog Item (image)" objects, because the images become too dark in color, and my fading on the buttons isn't working properly. It also seems a rather obtuse way of going about it if the <img> tag is working properly. Following the posts in that thread, I created <img> tags like so:
<img path="Assets\Textures\btn-unit-protoss-zealot.dds" width = "80" height = "80"/>
This is just an example, because I have a ton of these for all of the various units. However, despite this being pretty much what I found in the other thread, the images do not appear on the buttons.
Attached is how it looks in the editor, so you can see what options I have selected.
I know what the issue is NOT:
Your help in this matter would be deeply appreciated. All of the buttons have been added and made entirely functional which means that all that's holding me back from moving this to the next version is this image issue, since people will not like having to hover over a button in order to know which unit they're making. I may add some small things to it, but, for the most part, it's nearly ready for release and this is what is holding it back.
@Chamenas: Go
The html tags seems to be extremely limited there might be a way to fix it, the way I do it for my UI was to make a dialog item - image on top of that button. Just make sure that its has no tooltips so that you can click the button behind it. (put the tooltips u want in the button)
Seems to be working, Programmer, thanks. I'd still love to know how to get the HTML to work, so that I don't need to have nearly as many dialog items, but I can be content with this as it works at the very least.