F
F
Freddy Hardest2017-04-27 21:46:54
css
Freddy Hardest, 2017-04-27 21:46:54

How to limit list in PopupMenu?

I have a large list in the menu, more than 20 lines, and I need to display no more than 5-7 with the ability to scroll when calling PopupMenu so that it does not cover other screen elements. Can it be done?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FalseCode, 2018-05-30
@FalseCode

You can also do this
. You give the wrapper of all elements a border in a circle, and padding on top and bottom. And the card itself has a border on the right, and a pseudo-element down

A
Alexey Melnikov, 2017-05-11
@almel

Can.
Look towards ListView or RecyclerView by limiting the size of this element

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question