Author Topic: Static Panels and new UILabels...  (Read 2023 times)

Yukichu

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
Static Panels and new UILabels...
« on: September 24, 2013, 01:59:12 PM »
Without me having to actually break a bunch of stuff to figure this out...

The new UILabels having the ability to resize freely, or resize height - should they, or could they, go in a static panel?  I presume since the geometry on a clamp/shrink label isn't changing that they are fine to be in a static panel.  I guess I'll find out one way or another shortly.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Static Panels and new UILabels...
« Reply #1 on: September 24, 2013, 07:01:04 PM »
"Static" means that position/rotation/scale changes are not checked (transform). Changing width and height is not affected by this, and will work properly.

Yukichu

  • Full Member
  • ***
  • Thank You
  • -Given: 3
  • -Receive: 8
  • Posts: 101
    • View Profile
Re: Static Panels and new UILabels...
« Reply #2 on: September 24, 2013, 07:13:16 PM »
Awesomesauce.  Makes a lot more sense now.

I suppose this means UISprites changing width/height in 3.0 can be static?  Filled sprites as well?  All sorts of stuff.  I like this new width/height thing even more now.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Static Panels and new UILabels...
« Reply #3 on: September 24, 2013, 07:21:53 PM »
Yup.

mishaps

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 65
    • View Profile
Re: Static Panels and new UILabels...
« Reply #4 on: September 24, 2013, 07:24:35 PM »
very cool 8)