WebMemo autosize

Hi,

i have a WebMemo with Aligh alTop and WebTreeView with Align alTop

When i resize the form (smaller width) the autosize of the WebMemo does not care about WebTreeView and pass over it

I cannot reproduce this.
See attached project.

Project1.zip (9.5 KB)

Can you please check this

Project12.zip (1.8 MB)

I could reproduce this now and it is the content in combination with AutoSize that causes this.
We are investigating how we can best address this.

Thank you !

We traced & solved this issue. The next update will address this.

I’m having a problem with a Panel at the top, then a PageControl, then a splitter to adjust size of PageControl height vs. lower part (all aligned Top), then a Panel aligned to client.

The tabs on the PageControl end up hidden or zero height or ? They just disappear.

Is this possibly related?

I had to do a lot of juggling with many panels to make it work properly.

When you use WebMemo.AutoHeight = true and use alignment, that is potentially related and this issue should be solved in the next update.

Something is going wrong

If i put Autosize to TRUE at the begging and feed WebMemo then it works

If i Clear WebMemo and feed it with new text, Autosize does not work, it is going to minimum size

If i change the form width, the autosize works

How i trigger Autosize to change the height of WebMemo ?

We have seen an issue with autosize and programmatically updating the content of the TWebMemo.
We applied the improvement that this should work as expected with

WebMemo.BeginUpdate;
// apply changes here
WebMemo.EndUpdate;

This improvement will be in the next release.

i am already using

WebMemo1.BeginUpdate;

WebMemo1.EndUpdate;

but no change

If i change the browser width with the mouse, autostart fires

I said:

”This improvement will be in the next release.”

OK thank you !