Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Last visible symbol position
Started by vovarozvod May 12 2018 03:55 AM

3 replies to this topic
newtext string ebook
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

vovarozvod

[GLOBAL: userInfoPane.html]
vovarozvod
  • Observer

  • 3 posts
  • Corona SDK

Hi mates. I`m working on simple text reader and I have to divide massive text for pages. Is there any simple way to get the last visible symbol for text cropped with height of newText()?

Thanks



[TOPIC: post.html]
#2

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 6,404 posts
  • Corona SDK

Nope.

 

You're going to have to work this out dynamically.



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 23,753 posts
  • Corona Staff

This tutorial may be useful to you:

 

https://docs.coronalabs.com/tutorial/system/textBlocks/index.html

 

Rob


  • roaminggamer likes this

[TOPIC: post.html]
#4

vovarozvod

[GLOBAL: userInfoPane.html]
vovarozvod
  • Observer

  • 3 posts
  • Corona SDK

I`ve already found a solution but thanks anyway, Rob




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: newtext, string, ebook