Author Topic: Embeded Tweens  (Read 1456 times)

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Embeded Tweens
« on: June 08, 2014, 01:09:35 PM »
Not sure if that's the right description for my question, but basically I'm am trying to do something similar to the Quest log (Example 9), but I want sub options within one of them. So for example
Option A
Option B
Option C

Clicking A or C brings up text, just like the example, no problem. But when Option B is clicked, I want to show some text, then
Option B1
Option B2
Option B3

each of these can also be clicked to bring up more information.

I, kind of, got it working, but as the label expands under the sub option, the other sub options are not moved down.

is this even possible, if so any hints on doing it would be greatly appreciated


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Embeded Tweens
« Reply #1 on: June 09, 2014, 03:14:18 AM »
The "moving down" in the quest log example is accomplished via the UITable. All objects are inside a table. When the item gets resized, it notifies the table and the table re-adjusts each cell. The key is to notify the table -- it's an option on certain tweens.

pad406

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 62
    • View Profile
Re: Embeded Tweens
« Reply #2 on: June 09, 2014, 03:20:45 AM »
Thanks Aren, I'll give that a go. Thought I was missing something all right