Adds a tick marker widget that can be used on sliders etc.