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 - Chamnana

Pages: [1]
1
NGUI 3 Support / UIDraggable Panel acting weird
« on: June 18, 2013, 04:47:07 AM »
hello guys,
Something tells me that my problem has an easy explanation, but that i'm missing it, so maybe you can help me resolve it.
I tried to do a scene with draggable panel and scroll bar (i've already made a scene with draggable camera and it works fine). My problem is that the panel doesnt behave like the one on the exemple scene. When i move the scroll bar, the item in the panel scrolls AND so does the panel . it doesnt stay static.
this is the panel on start :

And this is the panel after a scroll


I need the panel to stay still while i'm scrolling the items in it. If someone have an explanation, or if you need further informations on how i did it to help me, that would be awesome.
Thank you :)

2
NGUI 3 Support / Re: Scale a Button
« on: January 10, 2013, 08:43:51 AM »
Thank you but it's not what i meant. I need the background to still the same, but the label to change its scale... i tried to do the stretch on the label but it doesnt work neither (thanks for the reminder about the collider !) .

3
NGUI 3 Support / Re: Scale a Button
« on: January 10, 2013, 08:19:52 AM »
Thank you :) i'll try that !

4
NGUI 3 Support / Scale a Button
« on: January 10, 2013, 07:47:05 AM »
Hello,
I have a project where i want to change the label of a button with a script while playing a game, sometimes the text that i'll put in the label is much longer than another (it can be a sentence, just two words, a number... ).
So my question is : how can i scale the label to fit the button (the background of the button have to stay the same for all the labels) ?


5
NGUI 3 Support / Re: Position Label
« on: December 10, 2012, 06:46:53 AM »
Thank you! that was the problem :)

6
NGUI 3 Support / Re: Position Label
« on: December 07, 2012, 09:23:40 AM »
Anchor it ? you mean does it have an anchor or is it something i do manualy ? (sorry still noob at this)

7
NGUI 3 Support / Position Label
« on: December 07, 2012, 03:56:12 AM »
Hello,
I have a little problem, and i don't know how to solve it.
I'm using ngui to create a label for the score, i've positioned it perfectly, and when i hit play it works 9/10 times.
The other one time, the label's position changes randomly, i can't find why.
I thought i could build the project and run it to see what happens: The label's position changed.

this is what appears when i hit play (what should happen)


This is what i have when i build and run it


does anyone have any idea how to fix it ?

8
NGUI 3 Support / Re: NGUI- Inverted Pivot
« on: December 06, 2012, 05:35:49 AM »
Thank you :)

9
NGUI 3 Support / Re: NGUI- Inverted Pivot
« on: December 06, 2012, 05:17:55 AM »
So can you explain it to me ? Now that i'm working with NGUI , i found that top left isn't bot right (or i'm just very new at it , so i don't get it).

10
NGUI 3 Support / NGUI- Inverted Pivot
« on: December 04, 2012, 08:12:13 AM »
Hello,
I'm new on NGUI, and just when i started the tutorial i found a problem in setting the "Pivot" of any widget: When i set pivot on "top right" it draw it on the "bottom left" corner. On "bottom right" i have "top left" on the screen.... and so on, top is bot and left is right.
does any one have any idea on how to fix it?

Pages: [1]