kivymd / KivyMD

KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications. https://youtube.com/c/KivyMD https://twitter.com/KivyMD https://habr.com/ru/users/kivymd https://stackoverflow.com/tags/kivymd
https://kivymd.readthedocs.io
MIT License
2.25k stars 674 forks source link

MDNavigationDrawerLabel won't let me control the text within its bounding box #1736

Open mz3r0 opened 2 months ago

mz3r0 commented 2 months ago

I have it inside an MDNavigationDrawerMenu

MDNavigationDrawerLabel:
    text: "My Text"
    font_style: "Headline"
    halign: "center"
    d: self.show_area('g', group='after')

The problem: I noticed plenty of space under the text.

I thought it was padding at first, then line height. Tried messing around with different things but nothing seemed to work. The headline font_style looks great but the extra space added underneath is out of my control which makes me not want to use it.

OS: Windows 10 Python: 3.12 Kivy: 2.3.0 KivyMD: 2.0.1.dev0