whalemare / sheetmenu

Library for speedy implementation menu with BottomSheet
124 stars 18 forks source link

How can I display the grid menu with the description size below the icon? #7

Closed bardoj closed 6 years ago

bardoj commented 7 years ago

Firstly, thank you for support a good program library. I made a Grid style 4 * 2 menu with icons and descriptions. However, since one menu size is the same as the icon size, the description can not be displayed on one line. How can I display the grid menu with the description size below the icon?

Thank you for advance.

screenshot_20170920-130556

whalemare commented 6 years ago

Thanks for your feedback, @bardoj. By Bottom sheet spec from Material Design Components, you should use grid with 3 columns. With a larger number of elements in the row, they will be very closely located to each other, which will adversely affect on UX in your case. However, you can make changes that you consider necessary and send me a pull request. In the future I will add automatic calculation of the required number of columns depending on screen and device, but not now.