2D Toolkit Forum

2D Toolkit => Support => Topic started by: hawken on March 25, 2014, 04:52:45 am

Title: Dropdown height
Post by: hawken on March 25, 2014, 04:52:45 am
Hi, not really grasping how this works, there not much in the docs or FAQ so I'll ask here:

I used a prefab to make some dropdowns, set the dropdownheight (left one is correct):

(http://i57.tinypic.com/qpi3k2.png)

But when it runs in the player, the dropdown items are all layered on top of each other. Is there a way to set the dropdown button height & dropdown item height?

(http://i58.tinypic.com/s28k1f.png)
Title: Re: Dropdown height
Post by: hawken on March 25, 2014, 05:08:42 am
Specifically how do I change these blue lines to be higher?

(http://i61.tinypic.com/2luq9vk.png)
Title: Re: Dropdown height
Post by: unikronsoftware on March 25, 2014, 10:41:58 am
1. Are there any non-identity scales anywhere in your component?
2. The anchor point / origin on the main object looks incorrect.
3. How did you construct your control?

If you can't work this out - send a repro case to support at unikronsoftware.com and I'll investigate for you.
Title: Re: Dropdown height
Post by: hawken on March 27, 2014, 08:41:35 am
OK I figured it out, just being dim as usual. I simply pull on the yellow arrow? Might want to add that to the FAQ :)

BTW there's no way to see attachments on this forum? (chrome, mac) I need to see the pdf invoice sample to register for 2dtk 2.4
Title: Re: Dropdown height
Post by: unikronsoftware on March 27, 2014, 10:18:27 am
It should be visible now :)
The yellow arrow is actually blue when unselected. Like all arrows in Unity it turns yellow when selected...