Content Size Fitters wont work DropDown Menus?
Hi, im having some trouble with the default Drop Down Component and content size fitters.
So i have my generic Drop Down Menu but want a background behind the menu using a content size filter to scale the background to the size of the Drop Down Menu & Drop Down List.
The Problem is that a Drop Down menu duplicates its template as a child of the Drop Down ui (Drop Down List). but the Drop Down List is locked below the Drop Down menus, and therefore the content size filter will only scale the background to encompass the Drop Down Menu and wont include the Drop Down List, becasue its outside the bounds of the Drop Down Menu.
It might be easier to explain in an image.
GREEN BOX: the background, should fit to the size of its children.
BLUE BOX: The dropdown Menu with the dropdown component which is a child of the Background.
YELLOW BOX: the Dropdown meun(based of template) which is a child of the DropDown Menu.
Please note that the example ive given isnt actually the problem im specifically having, but if i know how to solve this i can solve my actual problem.
Thanks ~Scott
Your answer
Follow this Question
Related Questions
Disable a single Dropdown option. 2 Answers
Keep dropdown menu states between scenes 1 Answer
[Solved] Scroll not working when elements inside have click events 3 Answers
Panel UI organisation 0 Answers