From d9bd225b9de466c05964126591c4f2b49743a036 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 15 Dec 2016 11:35:30 +0100 Subject: Make text widget background fully black --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 25b54d1..49392f2 100644 --- a/init.lua +++ b/init.lua @@ -527,7 +527,7 @@ doc.widgets.text = function(data, x, y, width, height) -- 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 local formstring = "tablecolumns[text]".. - "tableoptions[background=#00000000;highlight=#00000000;border=false]".. + "tableoptions[background=#000000FF;highlight=#000000FF;border=false]".. "table["..tostring(x)..","..tostring(y)..";"..tostring(width)..","..tostring(height)..";"..widget_id..";"..text_for_textlist(data, linelength).."]" return formstring, widget_id end -- cgit v1.2.3