Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Get exact widget position in horizontal box

I need to get the exact location of my widget in my horizontal box since I want to display some menus over them on hover. The whole menu is created dynamically based on some parameters so I can't just drag these menus in.

The widgets which toggle the menus are laid out in a horizontal box. I noticed that there is a "Get Position" node for Canvas Slots, however there doesn't seem to be one for Horizontal Box Slots. Any idea?

Product Version: UE 4.10
more ▼

asked Jun 13 '16 at 06:12 PM in Blueprint Scripting

avatar image

35 2 4 9

avatar image Dodgin Jun 13 '16 at 07:30 PM

Can't you just put an overlay in the horizontal box and add the menu to that?

avatar image BitteWenden Jun 13 '16 at 07:37 PM

I could do that, but that still wouldn't solve the problem that I want to put the menu right above the widget I'm triggering the widget with.

avatar image skubdee Dec 22 '17 at 02:27 PM

did you ever work this out ?

avatar image BitteWenden Dec 22 '17 at 02:55 PM

Nope, unfortunately not.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Anyone? Maybe some kind of workaround?

more ▼

answered Jun 17 '16 at 08:47 PM

avatar image

35 2 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hello the only workaround I found that seems to be working is using "Local to Viewport" node. This workaround does not work because the cached geometry returns mostly invalid results alt text

This one works, however it is handled inside tick event (what I try to avoid as much as possible) alt text Hope this helps.

workaround1.png (54.4 kB)
workaround2.png (57.5 kB)
more ▼

answered Jan 26 '18 at 03:45 PM

avatar image

23 4 3

avatar image skubdee Feb 11 '18 at 02:43 PM

i found a work around myself i will up load screen shots soon and mark as answered my only problem so far if it only works in full screen

avatar image xSheim Mar 13 '18 at 05:48 AM

I'm also struggling with it. Could you please upload these screen shots? I know it's been a month but I really need to get it working (rather avoiding putting this code in tick)

avatar image skubdee Mar 14 '18 at 06:46 AM

this was my work around it only works in full screen, still looking for another way alt text

on-drag-over.jpg (189.2 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question