Cocoa TrackBar Tick Marks Off By One
Original Reporter info from Mantis: crlab @neurolabusc1
-
Reporter name: Chris Rorden
Original Reporter info from Mantis: crlab @neurolabusc1
- Reporter name: Chris Rorden
Description:
By default Lazarus TrackBars show tick-marks (tickStyle = tsAuto). In most widget sets there is one tick for each possible value, so if you set Min=1 and Max=5 you will see 5 tick marks. However, the Cocoa widgetset shows one less than it is supposed to (e.g. 4 in this example). This means that it is impossible to precisely move the slider to a tick mark.
Mantis conversion info:
- Mantis ID: 29089
- OS: OSX Darwin
- OS Build: 10.10.5
- Build: 50492
- Platform: MacBook Retina
- Version: 1.5 (SVN)
- Fixed in revision: 52447 (#e42f8258)