How to do images with dropdown menu by UE4 blueprint?
Any example?
In this concrete example I’d say use a HorizontalBox. You can change its visibility or even animate if you want to.
is it working like “Dropdown Menu” ?. i mean with images
If you mean what I suggested with HorizontalBox, no, it’s not. You have to manually setup the functionality.
AFAIC there’s no default solution for ComboBoxes with images instead of text.
There is:
- set the combo text to something easily convertible:
- override
on Generate Widget
:
- either construct native images or whole widgets:
There’s also the Expandable Area
that can create more complex, branching tree-like structures, each branch being a separate widget:
And there’s the Tree View
- can be set up to work like a dropdown but it’s more involved.
Using a Horizontal
/ Vertical
box is also an option - extra work required since you’d need to work in the desired features yourself. This is probably the best option if you want something highly customisable and flexible, but will require most work.
I’d consider using a Wrap Box
, too - depends on the ideal behaviour.
Wow, that’s huge. You live and learn.
wow thank you. it will be great for Simple short video tutorial. Please make video tutorial for newbee s like me. UE beginner’s will appreciate your help
@Everynone Wow thank you. it will be great for Simple short video tutorial. Please make video tutorial for newbee s like me. UE beginner’s will appreciate your help
I don’t do video tuts. But that’s the entire script up there. You’ll need more script for more advanced behaviours. We don’t know what those are, though.
Play with the above, see how far you can take it and report back if you get stuck.
Is there any way to display elements above the ComboBox?
Rotate the CB upside down? Or look into Menu Anchor - much more flexibility:
@Everynone Thank you! Will try when get a chance