Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: 3DMagicVR on September 24, 2013, 04:47:20 PM
-
Hello and good day, I only have this little comment:
when you use the UILabel and work with a large text, the only way to move up or down the text content it's using the arrows on the keyboard, and some times it's very annoying to have to search the line with this method, why don't you add the Editor.BeginScroollView() where the text content are displayed?.
This will be more helpful to search a line text in this content view to modify the line, word or even change color.
What do you think of it?.
-
I am pretty sure it's not possible to do this in Unity. While I can put the edit field in a scroll view, you won't be able to scroll the text. It's hard to explain, but all I can tell you is -- try it yourself, you will see what I mean.
-
I'm talking about this http://youtu.be/ky4ju6Vecdk (http://youtu.be/ky4ju6Vecdk).
-
Yeah, I understand. As far as I know the only way to do that is to have a fixed height text box, and a fixed size scroll view, which kind of defeats the purpose. If there is a way to create a variable height text box that resizes as you type, I don't know of it. If you do, let me know and I'll look into it.
-
You mean something like this: http://youtu.be/bjSxYLs16v0
-
Yup, and in your video the cursor disappears as you exceed the height of the box until you actually scroll down. That's arguably worse.
-
Ok, but it's just the beginning, as you can see it's possible to make the text area to scroll the only thing lefts it's to make it auto scroll on every new text line.
Can you do that?.
-
If I find an ideal solution, I will.
-
I almost got it, but still get some weird line jumps, when that's fixed I will upload a video showing the result. :)
-
Finally, the autoscroll it's working, you can see it here (http://youtu.be/6FSNzwZW1Hk).
-
So, now that you see it's possible to make it, how about including it in future updates?.
-
If you provide me with a patch, I'll certainly have a look at it.
-
Sure, how much you will pay for that patch?, because, my boss have to buy your package, and when I notice this little detail and hoping that little detail was implemented over the next updates and nothing, I have to figured out how to implement that, even you said that can't be done, in first comment and after you give a very simple answer, far away that it really is, I do it and it's working, took me some time, you see it the difference between samples, so I ask again, how much for this little detail?.
-
I wouldn't be willing to pay anything for it. Seriously: the amount that it contributes to NGUI is minimal. It's eye candy that brings no functionality (other than ease of scrolling through a few lines of text). I don't use that feature of UILabel, since I always access its .text field and change the text dynamically.
I personally enjoy sharing my fixes and submitting bug reports so everyone else using NGUI can benefit.
-
Pay? You jest. You can keep it. You needed it, and you added it for yourself, so enjoy it yourself.
You're going to have to implement something far more useful than a scroll bar on a text box for anyone to be willing to fork over their money to you. Consider the feature set NGUI offers for $95. Now think about what you added in comparison.
-
That's a good comment, I like you, gladly share the minimal knowledge when the occasion warrants it, but in this case, the implementation it's so simple that anyone can do it, as you said before "OnlineCop", and for "ArenMook" all that was a joke.
I'm not a programmer, but I like to learn more that I actually know, if you read my signature you clearly see it, so for the patch you asked before, only need three more variables and a method with seventeen lines of code, it's very simple. ;), when I made this, I think on a way to change the content manually, if you "OnlineCop" do it dynamically, good for you, but I don't think that all the people do it like you do, because we all are not do it in the same way, always will be a person who do it differently, and that's the thing a tool, add-on or plugins developer must to get in mind, even if going to sell it or give it for free.