Formatting text in SUIT

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
shoujoq
Prole
Posts: 7
Joined: Sun Nov 27, 2016 1:22 pm
Contact:

Formatting text in SUIT

Post by shoujoq »

Hi,

I'm new to LÖVE and using SUIT to create a user interface for my game in LÖVE and I'm trying to figure out what kind of text formatting can be done on text created with SUIT.

For example, I have some text generated like this:

Code: Select all

suit.Label("PRO", {align = "center", font = Libel128, color = colorBlue}, suit.layout:row(400,60))
where Libel128 and colorBlue have been defined in love.load() as follows:

Code: Select all

Libel128 = love.graphics.newFont("fonts/libel-suit-rg.ttf", 128)
colorBlue	=	{normal = {bg = {71,134,206}, fg = {71,134,206}}}
and I was wondering what else I can do regarding the styling of this text - for example, putting a stroke border around the text?

I couldn't find anything on this in the documentation, so I figured I'd ask here.
Reflected in the mirror, I see the idol... Shoujo Q.
User avatar
shoujoq
Prole
Posts: 7
Joined: Sun Nov 27, 2016 1:22 pm
Contact:

Re: Formatting text in SUIT

Post by shoujoq »

Nobody has any input on this?
Reflected in the mirror, I see the idol... Shoujo Q.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Formatting text in SUIT

Post by raidho36 »

Try asking in SUIT thread, and if nothing else, try browsing its source code.

If it's not in the docs it's probably not supported.
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests