Author Topic: Can I set maximum text lines?  (Read 222 times)

qqplayer

  • Sr. Member
  • ****
  • Posts: 245
    • View Profile
Can I set maximum text lines?
« on: April 29, 2018, 10:15:03 AM »
I want ot add the "Overview" text but cant align from top.
So is there any way to set a maximum number of some text , I mean:

I add this code to my layout.nut , but what about if I want to show only the first three lines?

Code: [Select]
local textoverview =fe.add_text("[Overview]", flx*0.084, fly*0.4, flw*0.52, flh*0.1)