TextArea isn't well optimized for a scroll wheel sadly. You can add it to a container, set a height for the container, then add the container to a scrollpane. It will be really confusing if the user types more lines than the height you selected allows for.
I've used it for a number of apps actually. In fact, the popular app Spine is created with Scene2D as well. Scene2D is great for apps that need to animate or render graphics. However, it lacks common widgets you would expect from a more robust library. You'll spend a lot more time creating custom widgets for advanced use. libGDX Mac support is another difficulty as well.
NO! AVOID IT! It's miles away from good UI frameworks like Jetpack Compose. It's viable to use only if you are stuck with LibGDX and yet, if you build for some specific platform only - you definitely will find the native framework for that platform much easier to use.
👍
How to add scroll to the TextArea? I wasn't able to do that.
TextArea isn't well optimized for a scroll wheel sadly. You can add it to a container, set a height for the container, then add the container to a scrollpane. It will be really confusing if the user types more lines than the height you selected allows for.
@@raeleusI apologize, I am pretty newbie in gdx UI. What container do you mean? Like table or VerticalGroup? Would it work with text inside the area?
will there be any more videos about this?
Yeah, I'm just slow. My focus right now is creating a UI update for the official libGDX setup app. I'll be producing videos again soon.
Do you think it is viable to use scene2D.ui to make the UI of a app (not a game) ?
I've used it for a number of apps actually. In fact, the popular app Spine is created with Scene2D as well. Scene2D is great for apps that need to animate or render graphics. However, it lacks common widgets you would expect from a more robust library. You'll spend a lot more time creating custom widgets for advanced use. libGDX Mac support is another difficulty as well.
A game is an app too ;)
NO! AVOID IT! It's miles away from good UI frameworks like Jetpack Compose. It's viable to use only if you are stuck with LibGDX and yet, if you build for some specific platform only - you definitely will find the native framework for that platform much easier to use.