TMSFNCWXHTMLMemo resize issue

Hi there,

I’m currently integrating the TMSFNCWXHTMLMemo component into our project as a notes editor and encountered a resize issue during implementation.

To better illustrate the issue, I’ve created a small demo project:

59. HTMLMemo.zip (2.2 MB)

In the demo:

  1. The TMSFNCWXHTMLMemo component has its Align property set to alRight.
  2. A panel is placed to the left of the memo, with its Align property set to alClient.

After compiling the project, I saw horizontal scroll bar appears on the bottom of main form:

then if scroll the bar to right a bit, I saw a vertical line inside the memo's content area:

If I type text into the HTMLmemo, a second scrollbar appears inside the memo:

Any idea about this?

Thanks

Hi,

Thank you for reporting, we were able to reproduce the issue with your sample and we applied a fix for it. The next version will contain the necessary changes.

Until then, you can do the following as a workaround:

procedure TForm2.WebFormCreate(Sender: TObject);
begin
  TMSFNCWXHTMLMemo1.ElementHandle.style.setproperty('white-space', 'normal');
end;

Thanks, workaround works as expected.