Hi guys, I want to make divider full width of `Ale...
# compose
k
Hi guys, I want to make divider full width of
AlertDialog
in
Material3
. I can't find the way to override the padding. Is there a way we change the internal padding?
I want like this full width of border in AlertDialog
In my code divider is have side padding, So how can I change it?
L37BP.png
Copy code
AlertDialog(
        onDismissRequest = {},
        confirmButton = {},
        title = {
            Column() {
                Text(text = "header")
                Divider()
            }
        },
Thanks
t
Well you can use the
AlertDialog
that takes the
content
parameter but then you have to setup everything by yourself. Maybe copying some stuff from the
AlertDialog
implementation
k
okk perfect...