-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images in tablecolumn are not scaled #3403
Comments
Still happening? |
I don't remember what precipitated this, and I have no idea about the mod being shown, but images on a button scale with the button size. Seems to me the same should be true for other uses. Then again, the last formspec I did was minislots, and everything there works more or less the way one should expect. |
This is possibly the relevant code: Line 386 in b298b03
Looks like the image column width 'xmax' is simply set to the largest image's width, so a large image is cut into a strip as in the screenshot. Commit 8966c16 PR #920 no mention of image scaling in docs or PR, maybe it was assumed only 16px images would be used. |
To put it simply, "only 16px" is a bad assumption, if that's the case. |
|
Thanks. |
Tables are a big mess; the code is garbage. There are many bugs with |
@kahrl I notify you since you know the issue.
@VanessaE wants scalable images as well to put icons in the settings tab.
(The bag image is 128x128px, others are 16x16px)
The text was updated successfully, but these errors were encountered: