Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  5. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  6. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  7. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Dropdown menu font size problems.

Discussion in 'Unity UI & TextMesh Pro' started by Paul-Boland, May 14, 2018.

  1. Paul-Boland

    Paul-Boland

    Joined:
    Jun 28, 2013
    Posts:
    18
    Hi Folks.

    I have placed a dropdown menu on screen allowing the user to pic a saved game file to load. I managed to increase the size of the font on the dropdown menu items by going into the Item properties and setting it to 30. But the actual dropdown cells are still small in height and the text is clashing with other entries. Also the text in the actual closed menu is still small. How do I fix these two issues?

    Paul.
     
  2. Hosnkobf

    Hosnkobf

    Joined:
    Aug 23, 2016
    Posts:
    344
    In the Template Object there is a hierarchy: Viewport -> Content -> Item.
    You have to set the height of the Item as well as of the content to - let's say - 40.

    Increase the height of the dropdown object itself. Then increase the font size of the "Label" inside the dropdown object.
     
  3. Paul-Boland

    Paul-Boland

    Joined:
    Jun 28, 2013
    Posts:
    18
    Thanks very much, that sorted it.