Simple slider with value in label

Mathieu Virbel edited this page Sep 27, 2013 · 1 revision
Clone this wiki locally

Simple interaction within .kv file:


Label:
    text: 'Slider value is %s' % int(s1.value) if s1.value else 'Slider not set'
Slider:
    id: s1
    value: 3
    range: (0,20)
    step: 1