setMaxEntriesPerPage

fun setMaxEntriesPerPage(maxEntriesPerPage: Int): T(source)

Sets the maximum number of entries per page.

If the content of the menu cannot fit all of these entries, they will go to the next page.

The default value can be changed in Menu.Defaults.maxEntriesPerPage.

Return

This builder for chaining convenience