-
-
Notifications
You must be signed in to change notification settings - Fork 694
Open
Labels
Type: EnhancementFeature request/Feature implementationFeature request/Feature implementation
Description
According to M3 design spec the headline is optional.
https://m3.material.io/components/dialogs/guidelines#0cff8b6b-d4f3-4442-8194-31212f5d1a12
However, when leaving the part out, the dialog retains its height (probably due to all height: self.minimum_height in dialog.kv, e.g.:
KivyMD/kivymd/uix/dialog/dialog.kv
Line 34 in cfe5aac
| height: self.minimum_height |
Expected result: Only display provided content, e.g. the follow code should show no whitespaces but it does:
MDDialog(
MDDialogContentContainer(
MDIcon(icon="weight")
)
).open()red areas indicate too much whitespace:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: EnhancementFeature request/Feature implementationFeature request/Feature implementation