Search code examples
unity-game-engineunity-ui

How to make responsive dropdown elements in Unity3d?


I heve some problems with making UI in Unity3d. I have a dropdown element with 5 DDN items. This is original structure of DDN.

enter image description here

But on wide screen DDN items not responsive(2736x1824).

enter image description here

This is on FreeAcpect screen.

enter image description here

I want to make an elements responsive, but unity don't make it itself. I try to set BestFit checkbox of Text element but no results. enter image description here


Solution

  • I have created a Dropdown with default properties and it is showing responsive behavior for bigger resolutions as well, as expected. What you might be missing is the UI Scale Mode in Canvas Scaler component.

    enter image description here

    Also see Designing UI for Multiple Resolutions.