Jump to content

How to make text go down from position


Recommended Posts

hi, i need help with something i can't seem to figure out myself because i'm too dumb..

 

i'm adding things like ui and stuff and i add text to it

Spoiler

local Text = require "widgets/text"

self.text = self:AddChild(Text(GLOBAL.HEADERFONT, 20))
self.text:SetHAlign(GLOBAL.ANCHOR_LEFT)
self.text:SetRegionSize(400, 600)
self.text:SetPosition(0, 0)
self.text:SetString(TUNING.EXAMPLETEXT)

 

I want when I add more text all new lines of text go downwards from the first line instead of like the text tries to "balance" all the text between its position adding it above and lower instead of just keep going down from the position

sorry if I explained it very bad :wilson_facepalm:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...