1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

GUITable: Scale images with display density / row height (#14709)

This commit is contained in:
grorp 2024-07-02 20:57:43 +02:00 committed by GitHub
parent 8ed55b3aff
commit fcb4f258f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 80 additions and 15 deletions

View file

@ -3248,7 +3248,7 @@ Elements
* Types: `text`, `image`, `color`, `indent`, `tree`
* `text`: show cell contents as text
* `image`: cell contents are an image index, use column options to define
images.
images. images are scaled down to fit the row height if necessary.
* `color`: cell contents are a ColorString and define color of following
cell.
* `indent`: cell contents are a number and define indentation of following
@ -3269,7 +3269,7 @@ Elements
* `0=<value>` sets image for image index 0
* `1=<value>` sets image for image index 1
* `2=<value>` sets image for image index 2
* and so on; defined indices need not be contiguous empty or
* and so on; defined indices need not be contiguous. empty or
non-numeric cells are treated as `0`.
* `color` column options:
* `span=<value>`: number of following columns to affect