DEV Community

barneyflintstones8
barneyflintstones8

Posted on

Does anyone know how to modify the width of an MDSegmentedControl?

How do I modify the width of the MDSegmentedControl?

MDSegmentedControl:
                pos_hint: {"center_x": .5, "center_y": .5}

                MDSegmentedControlItem:
                    text: "Homem"   
                    font_size: "12sp"
                MDSegmentedControlItem:
                    text: "Mulher"
                    font_size: "12sp"
                MDSegmentedControlItem:
                    text: "Outros"
                    font_size: "12sp"
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay