Jump to content


Photo

TunimMemo Set Viewing Text Canvas Height

Memo

  • Please log in to reply
2 replies to this topic

#1 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 341 posts
  • LocationMelbourne Australia

Posted 12 January 2018 - 05:29 AM

I have a TunimMemo which defaults to displaying 2.5 lines of text - how do I set the Viewing Text Canvas Height (height, flex and config.minHeight does not change it) ?


  • 0

Andy


#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4770 posts

Posted 12 January 2018 - 06:19 AM

Hi,

 

Sorry, please explain a bit more what you wanted


  • 0

#3 andyhill

andyhill

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 341 posts
  • LocationMelbourne Australia

Posted 14 January 2018 - 07:23 PM

I believe it relates to Flex. Assume we have 10 lines of text.

 

Memo Component Canvas size and Memo Lines Displayed are not the same and if the text exceeds the Line Display area then text is cut off half way through the text.

 

On Desktop a small vertical scrollbar is shown (not so with mobile). Either way I want to specify the number of Lines to Display -or- have display text lines fill the canvas area if applicable.

 

---------------------------------------------

- text                                      -

- text                                      -

- text                                      -

-                                           -

-                                           -

-                                           -

-                                           -

-                                           -

-                                           -

-                                           -

-                                           -

---------------------------------------------


  • 0

Andy






Also tagged with one or more of these keywords: Memo

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users