How to adjust the width of a MDBoxLayout depending on MDLabel content
I’m trying to code put a KivyMD
MDIcon
and a MDLabel
inside a MDBoxLayout
. I want the width of the MDBoxLayout
to automatically increase or decrease as the size of the MDLabel
changes. But I’m experiencing a bit of a problem with the alignment of the label’s text.