开发者

JSF: fit width of richModal panel to width of content

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜