diff options
author | Wuzzy <almikes@aol.com> | 2016-12-15 11:35:30 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-15 11:35:30 +0100 |
commit | d9bd225b9de466c05964126591c4f2b49743a036 (patch) | |
tree | 97648b608e7778536816e2821ec580d1fdd0a200 | |
parent | 0d423d2970a71f99991068ac543d5a86c0b91503 (diff) |
Make text widget background fully black
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |