CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

MemoEx vertical size growing

by kit » 12 Sep 2019 22:47

Hi,

The height of the MemoEx control is changing when text is added if the initial height is less than 100. It changes til it is 100 high and then stays constant. Is there a way to keep the height constant if the height is set to less than 100? I have the vertical scroll bar turned on.

Thanks,

Kit
kit
 
Posts: 20
Joined: 29 Oct 2012 18:21

by Alexander Bulei » 16 Sep 2019 10:19

Hi kit,

Check your options in MemoExOptions.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by kit » 17 Sep 2019 00:17

I have looked at the options in MemoExOptions. I have tried setting MaxHeight. It doesn't seem to make any difference. It still grows to a height of about 100. I have also tried setting the MinHeight, MaxWidth, and MinWidth. The control seems to behave fine when the original height is greater than 100. In this case I want to set it to a height of 55. What else am I missing?

Thanks,

Kit
kit
 
Posts: 20
Joined: 29 Oct 2012 18:21

by kit » 17 Oct 2019 23:07

If anyone is interested I have found a way to avoid the problem. It only happens when the height is less than 100 and a text value is set. If the text is set using MemoEx.lines.text rather than MemoEx.Text the problem goes away.
kit
 
Posts: 20
Joined: 29 Oct 2012 18:21


Return to JQMemoEx

cron

Who is online

Users browsing this forum: No registered users and 0 guests

Contact Us.