Skip to content

Commit

Permalink
RF: set labelHeight to match tick height by default
Browse files Browse the repository at this point in the history
  • Loading branch information
peircej committed Feb 12, 2019
1 parent 0f80386 commit f8bdf23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psychopy/visual/slider.py
Expand Up @@ -163,7 +163,7 @@ def __init__(self,
self.tickLines = []
self.tickLocs = None
self.labelLocs = None
self.labelHeight = labelHeight
self.labelHeight = labelHeight or min(self._size)
self._lineAspectRatio = 0.01
self._updateMarkerPos = True
self._dragging = False
Expand Down

0 comments on commit f8bdf23

Please sign in to comment.