Field with Scroll long text option or too long text w/o Scroll long text does not render properly

5 posts, 0 answers
  1. Jay
    Jay avatar
    65 posts
    Member since:
    Dec 2011

    Posted 10 Oct Link to this post

    A field in my PDF has the Scroll long text option set. When I fill in this field programmatically, it does not render properly: the plus sign displays, but not the text (initial display.PNG). If I hover over the field, the field border shows (hover.png). If I then click the field or the plus sign, the text displays (and the plus sign vanishes) (clicked into.PNG). If I then click off the field, the display reverts back to the initial display of just the plus sign (initial.PNG)

    However, if I click into the field and type some additional text, then click off the field, the text and plus sign display (after typing.PNG). It would be nice, I think, if this last state was what happened initially.

    If I don't have the Scroll long text option set on the field, the initial display shows the field without the plus sign, but the text is offset to the south (NOT Scroll long text.PNG) which also seems wrong; I could live with this not having the plus sign indicator if the text wasn't offset.

  2. Anna
    Admin
    Anna avatar
    115 posts

    Posted 11 Oct Link to this post

    Hello Jay,

    Regarding the missing appearance of the text field, you seem to have stumbled upon a bug in the form fields functionality. I have logged it into our backlog and the Feedback Portal and you can follow our progress on it using the link to this item. I am updating your points as a token of our appreciation for reporting this.

    As for the second issue you mentioned, so far I have not managed to reproduce it, but it seems to me it might be a matter of using the correct font and text size for the size you've chosen for the field. You can try to increase the size of the box or alternatively use the TextProperties property of the TextBoxField to decrease the size of the text. Let me know if you encounter any difficulties along the way.

    Regards,
    Anna
    Progress Telerik

  3. Jay
    Jay avatar
    65 posts
    Member since:
    Dec 2011

    Posted 11 Oct in reply to Anna Link to this post

    Hi Anna. Regarding the second issue, I don't believe it is an issue with the font and text size. If I force the text to be short enough to fit in the field, it shows properly (short length.PNG). In this case, I'm truncating the string that gets set to be only 10 characters. As you can see, it properly displays in that case.

    The only difference in this case is the length of the text that is used to populate the field, I've made no other changes to the text box.

  4. Jay
    Jay avatar
    65 posts
    Member since:
    Dec 2011

    Posted 11 Oct in reply to Jay Link to this post

    Hi Anna. Just in case you can't reproduce it, the attached project reproduces it for me. You'll have to remove the .png extension to unzip it.
  5. Anna
    Admin
    Anna avatar
    115 posts

    Posted 12 Oct Link to this post

    Hi,

    My apologies, I see your point now, so thank you for the clarification and for the sample project. This is likely a different manifestation of the same issue, with the difference that when the AllowScroll property is set to true, the text becomes misplaced enough to become hidden while when the property is false it is only moved a bit. I have updated the item I linked above to reflect this. Thank you again for reporting these.

    Unfortunately, I don't have a workaround to offer you at this point other than leaving enough space for the text in the field and I hope your scenario allows it.

    Regards,
    Anna
    Progress Telerik

Back to Top