wateret/mengde

Add scrollbars to ScrollView

Opened this issue · 1 comments

ScrollView is working now but it does not have scrollbars. This means that it can be scrolled by mouse wheel event only.

To support scrolling without a mouse wheel, let's create scrollbars(for both vertical and horizontal).

It would be nice the scrollbar is like these:

  • Hidden by default
  • User moves the cursor to right or bottom side, it shows up

@llFreetimell The scrollbars will be used for UI framework such as item list, if user have too many items we should have scrollbars. However those are not for the main game view. I also do not want it to have scrollbars since it will look ugly and there is a minimap for it.