Moving Widget panel functionality overlapping other functions?
I'm having an issue that I'm sure it has an easy solution, but I'm not being capable to figure it out and I would love to get any help from any of you if anyone knows... please!.
I'm creating an application for architectural visualization, where you can select an object by left clicking them (with a traceByObject), and then a widget panel will spawn with an information container for the object.
In the widget, I made a functionality where the user can close the panel by clicking on a close button I created. And he/she would be able to also move the panel (by left clicking as well) keeping pressed the key to move it arround the screen. While the user is pressing the key the blueprint sets the slot canvas position on screen dinamically, and it finally stays on the end position when the user releases the key. Both actions seems to be working properly SEPARATELY, but not SIMULTANEOUSLY. I will explain this: When I set the widget to work with the move arround functionality, then the closing button stops working and I can only move arround the widget with no possibility to remove it from the viewport. And when I disable the move arround function, the closing button works perfectly well.
I tried to set the ZOrder from the border panel and the button just in case, but it seems to not be working either.
Here you have a screenshot of the closing button as well, created on the widget event graph.
As I said both things works properly but only when I plug one of them to the return node of the move arround function.
Please if anyone knows how to fix this, would be so amazing!
Thank you so much in advance for everyone!
Make sure your Buttons z-Order is always over the Border. Otherwise the trace will never hit the Button since the Border is always in front blocking it.
answered Jul 04 '17 at 04:18 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here