Skip to content

Outsource scrollpane #1240

Closed Answered by Jugen
Sylordis asked this question in Q&A
Jul 3, 2024 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

The scrolling part works like a charm

That's great.

Group is unique in that it doesn't auto size it's children. The idea was to isolate the sizing of the text area from its parent containers so that the scrollbar can work properly. So, in order for this to work you'd need to manually specify the text area's dimensions.

However I've had another look and think I've found a better way than using Group.
Instead I suggest trying chapterContent.setAutoHeight( true );.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Sylordis
Comment options

Comment options

You must be logged in to vote
1 reply
@Sylordis
Comment options

Answer selected by Sylordis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants