Hi guys, I'm creating a button dialog item with an image dialog item placed over the top of it.
Problem is that when the user cannot click on the button with the image in the way. How do you get the mouse clicks to create a dialog item used event on the underlying button?
I've actually done this a million times in the past so I know it is done but I can't remember and searching google/sc2mapster/editor documentation has left me empty handed and frustrated. Can someone help?
I had this problem once and I believe it is caused by the putting a tooltip on the image. If you make sure whatever tooltip is on the button instead, you should be just fine.
Hi guys, I'm creating a button dialog item with an image dialog item placed over the top of it.
Problem is that when the user cannot click on the button with the image in the way. How do you get the mouse clicks to create a dialog item used event on the underlying button?
I've actually done this a million times in the past so I know it is done but I can't remember and searching google/sc2mapster/editor documentation has left me empty handed and frustrated. Can someone help?
Huh never had that problem myself. Maybe you need to create them in reverse order?
One thing I remember is that the image must be smaller than the button (and centered I think), or else the button can't be pressed.
Set Dialog item accept mouse to False for the image.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
This is how you do it.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
I had this problem once and I believe it is caused by the putting a tooltip on the image. If you make sure whatever tooltip is on the button instead, you should be just fine.
I've seen the tooltip suggestion around on the net. It doesn't work.
Disabling the mouse events on the image is the way to fix it. Thankyou