Skip to Content
avatar image
Former Member

Issue with previous comment

Hi,

There are two possiblities by which user can see the whole comment. 1) Allow multiple lines, by which scrolling option

will come. 2) Expand to Fit which will increase the height of previous comment so that whole comment can be seen.

If I donot choose Allow multiple lines option, the wrapping of text is becoming incorrect. The text is moving out of the

horizontal length. Is there any solution to avoid wrapping of text.

Thanks,

Aravind

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 20, 2010 at 05:10 AM

    Solved

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I kept Allow multiple lines as well as expand to fit checked. I added the below code in the layout ready

      event of the previous comment.

      this.resolveNode("ui.#textEdit").vScrollPolicy = "off";

      With this scrolling is turned off, so if a previous comment extends more than one page user will not

      be able to scroll in each and every page. The issue with wrapping of text if Expand to fit is not checked also will

      not arise.

      Thanks,

      Aravind