0 Replies Latest reply on Jun 14, 2011 6:26 AM by Sergei B

    Fit width of richModal panel to width of its content

    Sergei B Newbie

      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 displayed in width not completely, so scroll id displayed.





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





      `style="overflow: auto"`    -didn't help<br>

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