Library to write a table

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
deb75
Prole
Posts: 38
Joined: Sun Apr 18, 2021 1:11 pm

Library to write a table

Post by deb75 »

Hello,

I would like to draw a table, that is to say a rectangle with cells inside and some text within each cell.

It seems doable by drawing first a rectangle, then some lines and finally some text within each cell.

However, it is a bit hard, especially if I want the rectangle to adapt its width / height to the number of cells
and the font size used.

Did you hear about a library able to do that ?

Regards
User avatar
togFox
Party member
Posts: 779
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Library to write a table

Post by togFox »

There is a library that does this sort of thing called 'Slab'. It is current and compatible and both limiting and flexible.

It's quite easy to integrate and lessen.
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 43 guests