Home > Back-end >  How can I do to adjust the button size with the text size on kivy?
How can I do to adjust the button size with the text size on kivy?

Time:07-10

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?

CodePudding user response:

Try:

size_hint: None, None
size: self.texture_size
  • Related