Author Topic: A small detail...  (Read 6925 times)

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
A small detail...
« 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?.
« Last Edit: September 24, 2013, 04:58:05 PM by 3DMagicVR »
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #1 on: September 24, 2013, 06:44:46 PM »
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.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #2 on: September 26, 2013, 03:04:04 PM »
I'm talking about this http://youtu.be/ky4ju6Vecdk.
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #3 on: September 26, 2013, 05:02:30 PM »
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.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #4 on: September 27, 2013, 03:27:29 PM »
You mean something like this: http://youtu.be/bjSxYLs16v0
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #5 on: September 27, 2013, 06:16:15 PM »
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.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #6 on: September 29, 2013, 12:24:46 PM »
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?.
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #7 on: September 29, 2013, 07:38:16 PM »
If I find an ideal solution, I will.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #8 on: September 30, 2013, 08:45:21 AM »
I almost got it, but still get some weird line jumps, when that's fixed I will upload a video showing the result. :)
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #9 on: October 01, 2013, 04:17:10 PM »
Finally, the autoscroll it's working, you can see it here.
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #10 on: October 04, 2013, 08:55:34 AM »
So, now that you see it's possible to make it, how about including it in future updates?.
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #11 on: October 04, 2013, 09:21:40 PM »
If you provide me with a patch, I'll certainly have a look at it.

3DMagicVR

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 12
  • Think, Analysis, and then do it, can you do it?
    • View Profile
Re: A small detail...
« Reply #12 on: October 05, 2013, 12:38:05 PM »
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?.
« Last Edit: October 05, 2013, 12:49:15 PM by 3DMagicVR »
3D Magic VR - Living in a digital world -
3D Modeler, Digital Animator and 2D Designer.

OnlineCop

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 51
    • View Profile
Re: A small detail...
« Reply #13 on: October 05, 2013, 07:27:25 PM »
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.
« Last Edit: October 06, 2013, 02:14:35 PM by OnlineCop »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: A small detail...
« Reply #14 on: October 05, 2013, 10:47:38 PM »
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.