Add style[] tag with button support
This commit is contained in:
@@ -102,6 +102,9 @@ local function get_formspec(tabview, name, tabdata)
|
||||
)
|
||||
|
||||
retval = retval ..
|
||||
"style_type[button;bgcolor;#006699]" ..
|
||||
"style[world_delete;bgcolor;red]" ..
|
||||
"style[world_delete;textcolor;yellow]" ..
|
||||
"button[4,3.95;2.6,1;world_delete;".. fgettext("Delete") .. "]" ..
|
||||
"button[6.5,3.95;2.8,1;world_configure;".. fgettext("Configure") .. "]" ..
|
||||
"button[9.2,3.95;2.5,1;world_create;".. fgettext("New") .. "]" ..
|
||||
|
Reference in New Issue
Block a user