Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: artician on August 23, 2014, 08:16:13 PM

Title: Setting the anchor property on an NGUI Widget?
Post by: artician on August 23, 2014, 08:16:13 PM
I'm trying to use Set Property to set the object one of my NGUI widgets is set to, however I can't tell what the Property actually is.  Nothing stands out as "Anchor Target" or "Anchor" or similar.  Can anyone answer this for me?

Thanks.
Title: Re: Setting the anchor property on an NGUI Widget?
Post by: artician on August 23, 2014, 09:52:52 PM
NGUI Author recommends I write something custom.  This would be the first time I haven't been able to solve something using Set Property.  I figure I must be missing something, but I essentially need to set the UIRect.rightAnchor, UIRect.leftAnchor, etc. 

The Set Property options in these UI objects is insanely deep and I can't make heads or tails of it.
Title: Re: Setting the anchor property on an NGUI Widget?
Post by: tankun on September 03, 2014, 04:39:28 AM
Hi,

I'm trying to achieve the exact same thing. Have you found the Set Property value for Anchor values? I'm looking for the Bottom Override (the value you set next to the bottom tab under the Anchor widget) specifically.
Title: Re: Setting the anchor property on an NGUI Widget?
Post by: artician on September 03, 2014, 05:02:22 AM
Unfortunately I've not discovered any solution.  :(