Custom Vertical Padding for Dropdown Menu
See original GitHub issueCurrently the default vertical padding for a dropdown menu is 8dp
and it is not possible to override such padding (I dug into the source code).
Is there a way to override the default padding, as I have tried using Modifier.padding(vertical = <custom padding>)
and it doesn’t work (probably the subsequent calls to the same method in the library overrode that)?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:6 (2 by maintainers)
Top Results From Across the Web
7.1 - Increase Vertical Padding in Dropdown Menu
Hi, I'm in Version 7.1 and I want to increase the vertical spacing/padding between items in the drop down menu. So in the...
Read more >How to increase the spacing between options in Dropdown list?
Without custom, dropdown to create space between. Basically, the only way I could think of adding "space" between two elements within your DropDownList...
Read more >android - DropdownMenu Padding - Stack Overflow
In the making of a dropdown menu in compose, I ran across a problem where my DropdownMenu will always fillMaxWidth as given in...
Read more >Create a Custom Mobile Dropdown Menu In Elementor Pro
Learn how to create your very own mobile menu drop down in Elementor proSource ...
Read more >Dropdowns · Bootstrap v5.2
Wrap the dropdown's toggle (your button or link) and the dropdown menu within .dropdown , or another element that declares position: relative; ....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think https://github.com/JetBrains/compose-jb/issues/1878 is related.
Remove all padding content dropdown. U need coppy all to new file and call “DropdownMenuNoPaddingVeitical” inside compose