Author Topic: Sizing popup lists with more than one line?  (Read 1552 times)

Cwal

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 22
    • View Profile
Sizing popup lists with more than one line?
« on: June 25, 2013, 12:46:53 AM »
I am using a popup list to hold questions for an FAQ page, and due to size constraints, cannot necessarily fit the entire question on one line.  I have successfully gotten the questions to wrap, but this throws off the calculations for the background sprite and highlighting sprite, as well as the colliders.  Is there a workaround for calculating sizes that are not uniform?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Sizing popup lists with more than one line?
« Reply #1 on: June 25, 2013, 01:10:20 PM »
I don't recommend using a popup list for this. I suggest creating a custom panel with labels on it that you will show when you click on a button.