Search code examples
pythonpython-3.xkivykivy-language

How can I do to adjust the button size with the text size on kivy?


I'm making an app on kivy and in I need to build a text that ever single word is a button, so I need to adjust the button size with the word size without any border. How can I do this?


Solution

  • Try:

    size_hint: None, None
    size: self.texture_size