Refactor ScrollPane & Scrolling Widgets #34

Closed
jarvisteach opened this Issue Jun 4, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@jarvisteach
Owner

jarvisteach commented Jun 4, 2016

ScrollPane now pretty solid - so should use for:

  • listbox
  • tree
  • grid
  • textArea

Therefore:

  • remove all scroll related code from widgets
  • have widgets place themselves in a scrollPane
  • position scrollPane in grid

However, scrollPane has lots of components:

  • it is a frame
  • contains 2x scrollbar & 1x canvas
  • canvas contains another frame: interior via create_window

Do we place widgets into interior, or do widgets become interior?
Can widgets replace canvas?

Maybe, make generic ScrollContainer, then:

  • extend to make scrollPane, scrollList, scrollText
  • use scrollPane to position grid & tree

jarvisteach pushed a commit that referenced this issue Aug 10, 2016

jarvisteach added a commit that referenced this issue Jan 21, 2017

jarvisteach added a commit that referenced this issue Jan 22, 2017

jarvisteach pushed a commit that referenced this issue Jan 22, 2017

Richard Jarvis
Big rewrite of ScrollPane (#34, #35)
Re-made all events, with many more options... removed unneeded stuff...

@jarvisteach jarvisteach self-assigned this Feb 25, 2017

@jarvisteach jarvisteach added this to the 0.05 milestone Feb 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment