This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

what's the possible reason?  RSS feed

 
rose deng
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I created a scrollpane use new ScrollPane(ScrollPane.SCROLLBARS_NEVER); and created a horizontal scrollbar to control the scrollpane. The problem is when i move the bubble only to the middle of the bar,but the scrollpane has moved to the end.
I hope you can understand my explanation and figue out the reason for me.Thank you.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rose,
Not sure what you tried, but use the code below to see if it is similar to what you are trying to do.

Enjoy,
Manfred.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!