开发者

JSF: fit width of richModal panel to width of content

开发者 https://www.devze.com 2023-03-12 04:36 出处:网络
Have rich:modalPanel panel component: <rich:modalPanel id=\"pnl\" zindex=\"10000\"height=\"510\" width=\"400\" style=\"overflow: scroll\"onresize=\"return false;\">

Have rich:modalPanel panel component:

<rich:modalPanel id="pnl" zindex="10000"  height="510" width="400" style="overflow: scroll"  onresize="return false;">

Content of this panel displa开发者_如何学Goyed in width not completely, so scroll id displayed.

How to fit to width to avoid horizontal scroll at all?

tried:

style="overflow: auto" -didn't help

style="overflow: visible" -displayed not correctly, with transparent background


Set the attribute "autosized" to true and remove the "width" attribute. You also can remove the style attribute.

Hope it helps!

More info http://livedemo.exadel.com/richfaces-demo/richfaces/modalPanel.jsf

0

精彩评论

暂无评论...
验证码 换一张
取 消