renpy-table
A downloadable ren'py addon
Overview
There are times when it makes sense to use a grid but sometimes it would be better if its items had sizes different from the largest item in the grid. For those times, there's table.
Table is a drop-in replacement that is used exactly like grid, with the same arguments, except for the table style suffix.
Usage
Inside a screen, wherever you want a table instead of a grid, just type table instead of grid.
screen table_test:
table 3 2:
spacing 4
text "short"
text "medium"
text "very very very large"
text "2nd"
text "2nd line"
text "2nd line of large"
It will have columns with different width:

Instead of:

If you are using style prefixes change your styles so they end with _table instead of _grid and you are good to go.
Installation
Just drop the 01_table_ren.py file somewhere inside your game directory (or a subdirectory). By Ren'py's defaults, its rpyc will be included in your build.
More technical information available in the README file: https://gitlab.com/brunoais/renpy-table/-/blob/master/README.m
Source code
You can find the source code here: https://gitlab.com/brunoais/renpy-table/
Terms of Use
You may:
- Use this code for any kind of project, commercial or noncommercial.
- Modify and edit the code to suit your needs.
- Package as part of your release (Ren'Py, by default, already does this for you).
You may not:
- Sell or resell all or in part the code without making the modified library available as open-source.
- Use the code in a different project, under a different license, without prior written authorization (note this is equivalent to relicensing code).
When you provide attribution to this extension, please link here and attribute to "brunoais".
| Status | Released |
| Category | Assets |
| Author | Brunoais |
| Genre | Visual Novel |
| Tags | extension, Ren'Py |
| Content | No generative AI was used |
Download
Install instructions
Just drop the 01_table_ren.py file somewhere inside your game directory (or a subdirectory). By Ren'py's defaults, its rpyc will be included in your build.
