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.

Topics - CBYum

Pages: [1]
NGUI 3 Support / Phone status bar difference between iOS and Android
« on: October 27, 2014, 11:27:20 AM »
We have to change our app to now have the phones system status bar at the top. I tested the "Status bar hidden" flag off on Android and it did as expected, showing the status bar and shifting the interface down by the appropriate amount. On trying the same with iOS it seems to only overlay it and not shift anything down. I tried "Black Opaque" and "Default" as the status bar style but neither seemed to give a different result. We are running with XCode 6 and NGUI 3.6.8 (later release notes don't say anything has been done with regards to the status bar).

We were hoping that the iOS would work the same as the Android build but are not sure if this is possible or it is a problem with NGUI?

NGUI 3 Support / How to set up an Image Button
« on: August 19, 2014, 05:28:32 AM »
I must be missing something obvious but I just can't find how to set up an image button. From the docs you used to have to use a UIImageButton but when I add one it says that its functionality has been added to UIButton. But I don't see anything that could let me set a list of images for the button states. It only has a range of colors for the different states.

I create a UITexture and add a UIButton component to it. I see a Tween Target but if I set it with something that just seems to get color changes. I'm using 3.7.0 (updated today)

Any chance the docs could be updated?


NGUI 3 Support / UILabel sometimes goes beyond max lines value
« on: July 24, 2014, 05:36:53 AM »
We have a UILabel used in a popup box that we have fixed to 4 lines (variable width for mobiles). It can contain a variety of messages and going beyond 4 lines messes up our layout. We found a real case where it seems to put new lines right after a single character and this makes the label go to 5 lines instead of 4. I have reproduced it with random text if you play around with the amount of spaces it contains. Please see attachments to illustrate. Is this a setup problem or a problem with the wrapping logic?


NGUI 3 Support / Button in scroll view highlights while dragging
« on: February 12, 2014, 07:15:06 AM »
I have a scroll view that contains a vertical list of buttons. I can scroll the list of buttons quite happily and also click them individually - sweet. The only small problem left is their highlighting. When I begin a drag the button I touch will highlight to its pressed color. If I then drag it so my cursor is outside of the buttons original bounds it de-lights. The problem now however is that if I continue and drag back to that starting button position the button will light up again.

What I would like is for the button to cancel its interaction (and so de-light) when I start dragging (over a threshold) and never do anything else until the drag action has finished.

Any suggestions?


NGUI 3 Support / UITweener ResetToBeginning concern
« on: January 24, 2014, 06:33:33 AM »
I was very surprised to see that the ResetToBeginning fn was direction specific. If you have functions such as PlayForward and PlayBackward that never change their meaning then I think this should be the same for this function. Perhaps just have a Reset fn that also stops it. I was also surprised that there wasn't a Stop fn too and that I just had to use the enabled flag. Perhaps add one for completeness as you have Play actions.


Pages: [1]