BoxLayout:
Button:
id: bswitch
orientation: 'vertical' if bswitch.state == 'down' else 'horizontal'
id: btn1
text: 'Button 1'
text: btn1.state
text: 'Button 3'
text: 'Button 4'
text: 'Button 5'