EasyUI Forum

General Category => EasyUI for Angular => Topic started by: Swany on February 22, 2018, 04:31:28 PM



Title: eui-combobox: Adjust select panel size.
Post by: Swany on February 22, 2018, 04:31:28 PM
How do I get the selection panel for the eui-combobox to adjust its height to how many items I have in the list?


Title: Re: eui-combobox: Adjust select panel size.
Post by: jarry on February 22, 2018, 09:03:08 PM
Set the 'panelStyle' property.
Code:
<eui-combobox [panelStyle]="{width:'200px',height:'300px'}">
</eui-combobox>


Title: Re: eui-combobox: Adjust select panel size.
Post by: Swany on February 23, 2018, 10:40:48 AM
Jarry,

Thank you for your help