Formspec: textarea with scrollbar improvements
Increase scrollrate depending on fontsize Scroll on mousewheel Allow scrolling and marking text on non writable textareas Update lua api about readonly mode Show scrollbar if text overflows
This commit is contained in:
parent
a42d4efd0d
commit
a06be5551d
|
@ -61,8 +61,8 @@ local function get_formspec(tabview, name, tabdata)
|
||||||
fgettext("Del. Favorite") .. "]"
|
fgettext("Del. Favorite") .. "]"
|
||||||
end
|
end
|
||||||
if fav_selected.description then
|
if fav_selected.description then
|
||||||
retval = retval .. "textarea[8.1,2.3;4.23,2.9;;" ..
|
retval = retval .. "textarea[8.1,2.3;4.23,2.9;;;" ..
|
||||||
core.formspec_escape((gamedata.serverdescription or ""), true) .. ";]"
|
core.formspec_escape((gamedata.serverdescription or ""), true) .. "]"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue