如何调整选择下拉高度 [英] How to adjust Select drop-down height

查看:65
本文介绍了如何调整选择下拉高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找网络解决方案,每个人都在谈论不同的事情,或者只是说不会帮助帮助?我做了一个普朗克来说明我的问题。在我的屏幕上,当我点击下拉菜单时,我可以看到项目20。我希望能够设置此显示更多,或至少有一些控制。

http://plnkr.co/edit/gsFK5NmHKo4xopYBruD6?p=preview

解决方案

你不能因为选择框是一个系统控制。



请参阅 HTML选择框的高度(下拉菜单)

更换小工具/模块..


I've looking round the internet for a solution to this and everyone is talking about different things or just saying does size="x" help? I've made a Plunk to illustrate my issue. On my screen I can see up to item 20 when I click the drop down. I'd like to be able to set this to show more, or at least have some control.

http://plnkr.co/edit/gsFK5NmHKo4xopYBruD6?p=preview

解决方案

You cannot because the select box is a system control..

See Height of an HTML select box (dropdown)

You could use a dropdown replacement widget/module..

这篇关于如何调整选择下拉高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆