Author Topic: UITable Question from Example: Quest Log  (Read 7387 times)

LightSky

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 56
    • View Profile
UITable Question from Example: Quest Log
« on: January 22, 2013, 03:07:54 PM »
I am attempting to modify the example Quest Log that was provided with NGUI.  What I am attempting to do is create a basic table for a high score system I am working on and it will have a "Quest inside of a Quest" from the example.
However when I attempt to modify it, it works fine but any nested objects in the table don't have collision for the next items in the table. (However the last object works fine, as seen in Pic 2)
 I'm not sure what is wrong and might be a stupid mistake but just a point in the right direction will suffice, I am just new to Tables/Tweening  :P



If you need any more information I will be more than willing to oblige.   Thanks :)

Layout:
Panel
  -> Tables
           ->Game Modes
                      ->  Label/Outline
                      ->  Tween
                               ->NewGen
                                     ->Label/Outline
                               ->Classic
                                     ->Label/Outline
                      ->  Tween
                               ->NewGen
                                     ->Label/Outline
                               ->Classic
                                     ->Label/Outline
           ->Game Modes
                      ->  Label/Outline
                      ->  Tween
                               ->NewGen
                                     ->Label/Outline
                               ->Classic
                                     ->Label/Outline
                      ->  Tween
                               ->NewGen
                                     ->Label/Outline
                               ->Classic
                                     ->Label/Outline

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITable Question from Example: Quest Log
« Reply #1 on: January 22, 2013, 09:07:30 PM »
Open items have tween scale properties specified in reverse order from closed items from what I recall.

LightSky

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 56
    • View Profile
Re: UITable Question from Example: Quest Log
« Reply #2 on: January 22, 2013, 10:23:03 PM »
I looked through all the objects and all the tween properties are the same even when the game is running and they are opened. 
 I'm just a bit confused as to what is stopping the inner Panels from pushing the one below it down when the last one in the list does it automatically.  I've been tinkering with it for a while and am kinda stumped ???

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITable Question from Example: Quest Log
« Reply #3 on: January 22, 2013, 11:04:44 PM »
TweenScale has a checkbox that makes it update the table when the size changes.