Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - chufraise

Pages: [1]
1
NGUI 3 Support / Re: Anchoring group of widgets in new layout system
« on: February 06, 2014, 03:29:28 AM »
Thanks Mister!

2
NGUI 3 Support / Anchoring group of widgets in new layout system
« on: February 04, 2014, 09:36:54 AM »
Hi,
I'm struggling to understand the new layout system. I've looked at all the videos but the solution to my problem is not represented there. Basically I'm trying to group a bunch of widgets and anchor them in the top left of the screen.

I put five buttons as children to a Panel. I set the the Panel to "Constrain But Don't Clip" just to enable the Anchors-section. Then I chose Unified as anchors type. To anchor the Panel I set the target to UIRoot and the values to
  1. Left = Target's left
  2. Right = Target's left
  3. Bottom = Target's top
  4. Top = Target's top
  5.  

Now, I thought that should be sufficient. But when I change the aspect ratio the panel the panel get's anchored right, but buttons doesn't go along with the parented panel. They're not anchored for some reason.

I can enable the Anchors on every individual widget but that's a bit of a hazzle, and I don't think that's the intended practice.

In the old layout system I just added an anchor-script and set the alignment on the widget container and that was that.

Can anyone tell me what I'm doing wrong?

Thanks!

3
NGUI 3 Support / Re: (3.0.9 f3) UIPanel - anchors section greyed out
« on: January 22, 2014, 04:34:30 AM »
Ah silly me, thanks!

4
NGUI 3 Support / (3.0.9 f3) UIPanel - anchors section greyed out
« on: January 22, 2014, 03:55:48 AM »
Hey,
Just wondering why the anchors section of the UIPanel component is greyed out? I used to anchor panels, but I guess there's a better practice for that now?

I have a bunch of buttons that I want to anchor at the top left. Before in ye olde days, I just put the widgets in a UIPanel parent. But should I play it differently now? Empty UIWidget as parent instead?

Thanks!

5
NGUI 3 Support / Re: cannot drag panel in scene
« on: January 20, 2014, 08:12:34 AM »
Ah, sweet! You're a pistol!

6
NGUI 3 Support / Re: cannot drag panel in scene
« on: January 20, 2014, 05:30:08 AM »
Cool!

I'm probably a pain for asking this, but in what version do you think it will be fixed?

Sorry, and thanks again...

7
NGUI 3 Support / Re: cannot drag panel in scene
« on: January 16, 2014, 04:44:38 PM »
Maybe some more info will help:

Steps to reproduce this strange behaviour:
1. New scene
2. Create new 2D UI
3. Create new Panel with Root as parent

When moving cursor over panel, and having move mode enabled (W), the rotate symbol appears. Can't drag the handles on the object, and can't move it. Just rotate.

Hierarchy:

UIRoot
   - Camera
   - Panel

Thanks again!

8
NGUI 3 Support / Re: cannot drag panel in scene
« on: January 16, 2014, 07:22:14 AM »
Hi All,

I have a UIPanel that is the child of an Anchor.
I try to change its position in scene but cursor has a little rotate symbol when inside the panel.
It will only rotate. I can change position values in Inspector and it will move.

Thanks,
Kevin

Also having this problem. The anchoring of the panel doesn't seem to have any effect either. Trying to "glue" the content of the panel to top left, but when changing screen size it doesn't take.

Anchoring widgets works just fine.

(NGUI 3.0.8 f7, Unity Pro 4.3.2 f1)

Thanks!

Pages: [1]