Simple question: how can I position my (horizontal) scrollbar (self.scrollbar
) to the center.
I know there is self.scrollbar.set()
and but for some reason when I try this command:
def centerScroll(self):
loc = self.scrollbar.get()
self.scrollbar.set(loc[0]+0.5, loc[1]+0.5)
nothing happened. The scrollbar did not position to the center.
(if you want to know more about the context see this post)