From 7dffd08c1a068e5e0748a046fd8a1e884947b597 Mon Sep 17 00:00:00 2001 From: v-rob Date: Sun, 1 Mar 2020 06:39:57 -0800 Subject: Add multiple element selection to `style` and `style_type` (#9380) --- games/minimal/mods/test/formspec.lua | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'games/minimal/mods/test') diff --git a/games/minimal/mods/test/formspec.lua b/games/minimal/mods/test/formspec.lua index 50c506899..a836a811d 100644 --- a/games/minimal/mods/test/formspec.lua +++ b/games/minimal/mods/test/formspec.lua @@ -1,18 +1,9 @@ local color = minetest.colorize local clip_fs = [[ - style_type[label;noclip=%c] - style_type[button;noclip=%c] - style_type[image_button;noclip=%c] - style_type[item_image_button;noclip=%c] - style_type[tabheader;noclip=%c] - style_type[field;noclip=%c] - style_type[textarea;noclip=%c] - style_type[checkbox;noclip=%c] - style_type[dropdown;noclip=%c] - style_type[scrollbar;noclip=%c] - style_type[table;noclip=%c] - style_type[animated_image;noclip=%c] + style_type[label,button,image_button,item_image_button, + tabheader,scrollbar,table,animated_image + ,field,textarea,checkbox,dropdown;noclip=%c] label[0,0;A clipping test] button[0,1;3,0.8;x;A clipping test] -- cgit v1.2.3