Journal mod not showing text properly on Android

Post Reply
Tylor Smith
Member
Posts: 28
Joined: Sun Dec 11, 2022 06:57

Journal mod not showing text properly on Android

by Tylor Smith » Post

I downloaded a journal mod and when I used it the text that I had entered got cropped on the right side of the page, and they're seemingly no way to view the whole thing. Can somebody help me figure this out?

Tylor Smith
Member
Posts: 28
Joined: Sun Dec 11, 2022 06:57

Re: Journal mod not showing text properly on Android

by Tylor Smith » Post

https://minetestsharing.blogspot.com/20 ... -text.html
Here is a link to picture of the problem I'm having with the journal mod.

User avatar
Mantar
Member
Posts: 585
Joined: Thu Oct 05, 2017 18:46
Contact:

Re: Journal mod not showing text properly on Android

by Mantar » Post

Huh. From the code:

Code: Select all

-- TODO: Wait for Minetest to provide a native widget for scrollable read-only text with automatic line breaks.
-- Currently, all of this had to be hacked into this script manually by using/abusing the table widget
I guess this mod predates the [hypertext] widget, which does just that. It does allow you to set the line length by editing journal/forms.lua and changing "TEXT_LINELENGTH = 80" to whatever columns you want, so you could edit that to get it to word wrap on like 40 or 50 columns
Lead dev of Exile, git repo: https://codeberg.org/Mantar/Exile

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests