Richtextbox margin

Posted by: kisar on 20 March 2023, 6:01 pm EST

  • Posted 20 March 2023, 6:01 pm EST

    Hi

    Im using the richtextbox net7 and i have a problem with the margin set in the document.

    Basically:

    1. write several lines

      line1

      line2

      line3

    2. select all (or few of them) and set margin 0

      3 save the document in a rtf file

    Now load the same rtf file into the richtextbox, you will see that the margin 0 is lost

    Im missing something? some advice?

  • Posted 20 March 2023, 10:16 pm EST

    Hi,

    We are unable to replicate this issue at our end. Could you please provide more information?

    Like, Which build version of RichTextBox you are using? How you are saving the document in rtf file and loading the rtf file in RichTextBox?

    A stripped sample would be helpful.

    Regards,

    Nitin

  • Posted 20 March 2023, 11:56 pm EST

    Hi, usually i save on db, but its the same problem,

    im using the last library on NET7

    i attach an easy sampleWpfApp2.zip

    1 write

    line1

    line2

    line3

    2 remove margin to 0

    3 save with the button below

    4 load with the button below

  • Posted 20 March 2023, 11:59 pm EST - Updated 21 March 2023, 12:01 am EST

    a send you a short video20230321-145046_jeipgt0N.zip

  • Posted 21 March 2023, 10:36 pm EST

    Hi Beniamino,

    Thanks for providing the sample application to us.

    We could replicate the issue on our end. This seems to be a bug. Hence, we have escalated it to the devs. [Internal Tracking ID: C1XAML-31494]

    We will update you on this as soon as we hear back from them.

    Thanks & Regards,

    Aastha

  • Posted 17 April 2023, 4:46 am EST

    do you have any news?

    the last version does not solve the problem

    Thank you

  • Posted 17 April 2023, 3:05 pm EST

    Hi Beniamino,

    The developers have given an ETA of 2023v1 hotfix for the fix of this issue.

    We kindly request you to wait for the release to become available to ensure the desired outcome is achieved.

    Thanks & Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels