How about to add simple feature to minetest as:
textarea + images + scrollbar with possibility to copy text from that textarea with scrollbar?
online textarea with scroll - here
Wuzzy offered the same 4 years ago, but still we havent so simple and necessary function
textarea + scrollbar = ?
- v-rob
- Developer
- Posts: 971
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: textarea + scrollbar = ?
From lua_api.txt
As for copying and images, I doubt that will happen. If you really want copying, use a normal textarea, but make it so that it doesn't save changes made to it.
So, make <name> empty and use <default> for text. It even includes a vertical scrollbar. It's not very clear, but it does exist.### `textarea[<X>,<Y>;<W>,<H>;<name>;<label>;<default>]`
* Same as fields above, but with multi-line input
* If the text overflows, a vertical scrollbar is added.
* If the name is empty, the textarea is read-only and
the background is not shown, which corresponds to a multi-line label.
As for copying and images, I doubt that will happen. If you really want copying, use a normal textarea, but make it so that it doesn't save changes made to it.
Re: textarea + scrollbar = ?
v-rob wrote:So, make <name> empty and use <default> for text. It even includes a vertical scrollbar. It's not very clear, but it does exist.
As for copying and images, I doubt that will happen. If you really want copying, use a normal textarea, but make it so that it doesn't save changes made to it.
Textarea without scrollbar or images without scrollbar looks a few weird, too far from 2018.
Scrollbar is important thing when we talk about text edit, help pages, robot lua mods, mesecons lua mods and etc
Too much places that suffers from lack of textarea with scrollbar (or image with scrollbar)
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: textarea + scrollbar = ?
The scrollbars are added automatically when needed. Update to 5.0-dev to make use of it.bosapara wrote:Textarea without scrollbar
We'll await your PR for embedding images into text. Warning: the current formspec system works but sucks. See also: https://github.com/minetest/minetest/issues/6527bosapara wrote:or images without scrollbar looks a few weird, too far from 2018.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: textarea + scrollbar = ?
Glad to hear, in waiting of releaseKrock wrote:The scrollbars are added automatically when needed. Update to 5.0-dev to make use of it.bosapara wrote:Textarea without scrollbar
Glad to help, but I'm not a programmer, I'm a designer. Btw its great that the problem is not forgotten.Krock wrote:We'll await your PR for embedding images into text. Warning: the current formspec system works but sucks. See also: https://github.com/minetest/minetest/issues/6527
Who is online
Users browsing this forum: No registered users and 8 guests