1
NGUI 3 Support / Re: Scroll View List-View effect
« on: October 28, 2016, 06:00:53 AM »
There is an option called "cancel drag if it fits"
I think that is what you need.
I think that is what you need.
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.
panel.enabled = falseThe thing is that we have around 500 sprites in a pool: 50 widgets with 10 sprites inside each
UILabels don't have an onChange event. What are you referring to?UILabel inherits UIWidget.
It doesn't matter. NGUI labels don't need bold and italic fonts to print something in bold or italic.Lol
Any UI designer who is familiar with typography and importance of differences of regular/itallic/bold glyphs will shoot at you with a shotgun )))
You can use bbcode in dynamic font labels for things like italics, bold,Nope. We can not, because bold and itallic are different fonts.
If you want to support emoticons as well and those emoticons will only be to the left or right of your text, I suggest using 2 labels instead. One for text, and another for emoticons.We decided to go with dynamic fonts. As for emoticons.. if there is a way to get a single char-quad(unicode of emoji) position we can create some component that will listen OnChange of a label and if changed the child smiles took from pool/instantiated into right positions.

The prefab toolbar creates square preview textures, so I don't quite understand the first part of your post... The only trouble I see is positioning the camera so that it's in the center of the widget, and then adjusting its size so that it fits the widget within, but again the prefab toolbar does this for you so you can use its code as an example.Here:
NGUI's Prefab Toolbar does this, at edit time even. I recommend checking the code within -- but the idea is simple: create a temporary panel, camera set to use a render texture, instantiate whatever you want rendered into a texture, render it, then destroy the temporary panel, camera and objects.Yep! Doing that right now. But faced a problem on Android/iOS. We are making a component for complex masks created using UISprite etc. wich are calculated once at start (so it's quite eficient) Think of 9slice masks from atlas sprites etc.