Label text in python/kivy -
i writing code 2 buttons return random text label kivy, can't 2 buttons return texts on same line, want either button overwrite whatever second button displays on same line : boxlayout: orientation: 'vertical' pos: self.pos label: id: label1 text: root.truths label: id: label2 text: root.dares gridlayout: cols: 2 spaccing: 20 padding: 25 button: text: 'truth' on_press: root.truthkey() button: text: "dare" on_press: root.darekey() the above code in kv file , code in python file show below from kivy.app import app kivy.uix.widget import widget kivy.uix.gridlayout import gridlayout kivy.uix.boxlayout import boxlayout import random kivy.properties import stringproperty class truthanddare(boxlayout): truths = stringproperty() dares = stringproperty() def __init__(self, **kwargs): supe...