86 Commits

Author SHA1 Message Date
luk3yx
5f2e601938 Fix gui.Stack expanding 2023-02-09 11:08:00 +13:00
luk3yx
451f679ddc Warn when expanding unknown elements 2023-02-08 12:30:22 +13:00
luk3yx
a2fc646e77 Add gui.Stack 2023-02-01 18:08:58 +13:00
luk3yx
8dd4d491a6 Improve checkbox positioning 2023-01-21 14:39:06 +13:00
luk3yx
98203e032a Update comment 2023-01-21 14:13:49 +13:00
luk3yx
3cf79396e3 Make formspec handler return true 2023-01-17 08:34:46 +13:00
luk3yx
5e10ed5da6 Combine if statements 2023-01-16 20:57:02 +13:00
luk3yx
1d97d07697 Use a new form name for every form:show() 2023-01-16 20:30:13 +13:00
luk3yx
9cad6a94bd Document visible = false and no_prepend = true 2023-01-13 15:24:45 +13:00
luk3yx
299ccfcddc Add visible = false (may be renamed in the future) 2023-01-08 17:13:44 +13:00
luk3yx
8101115fae Bugfixes
node[value_field] is now set to the sensible default value if it isn't
set.
2023-01-02 15:36:12 +13:00
luk3yx
c39a3f5be1 Add no_prepend and fbgcolor parameters
Maybe these should be specified elsewhere but this works for now.
2022-12-22 20:00:33 +13:00
luk3yx
bf0fa06d48 Deprecate some functions and add form:update 2022-12-12 15:06:17 +13:00
luk3yx
6509cba73c Change character width calculation
This prevents long fractions for most labels.
2022-11-15 15:31:20 +13:00
luk3yx
0ecea04021 Fix expansion with padding 2022-11-15 15:22:05 +13:00
luk3yx
2db185f92a Fix 2022-11-06 14:49:24 +13:00
luk3yx
0a2a524ac4 Make luacheck happy 2022-11-06 13:44:26 +13:00
luk3yx
42cbec83ca Workaround 2022-11-06 13:43:05 +13:00
luk3yx
4c592bb774 Bugfix 2022-11-06 11:03:11 +13:00
luk3yx
9dbeca552d Fix automatic name generation
The automatic name generation no longer uses special characters (except
for the leading \001)
2022-11-06 10:22:05 +13:00
luk3yx
a56394ac9b Improve documentation and fix root element padding 2022-10-27 17:42:29 +13:00
luk3yx
f4d40efe2e Don't register /flow-example in multiplayer 2022-10-14 08:20:17 +13:00
luk3yx
f8af81b69a Make bgimg work properly on the root element 2022-10-12 12:22:40 +13:00
luk3yx
f219d6d0c4 Set scrollbar thumbsize depending on content height 2022-10-09 22:42:15 +13:00
luk3yx
950a9754a9 Fix ScrollableVBox expansion and allow the scrollbar to be customised 2022-10-09 22:32:24 +13:00
luk3yx
eff72d6323 Bugfix 2022-10-09 21:58:50 +13:00
luk3yx
95689f6c89 Make bgimg/bgcolor work with padding and add bgimg_middle 2022-10-09 21:31:33 +13:00
luk3yx
74ff45d081 Bugfix 2022-10-09 20:15:54 +13:00
luk3yx
1f45c3c6f8 Make luacheck happy 2022-10-09 19:56:08 +13:00
luk3yx
fa574dcf41 Make expand work properly on ScrollableVBox 2022-10-09 19:54:34 +13:00
luk3yx
43c2fc0f78 Bugfix 2022-09-30 16:31:35 +13:00
luk3yx
61803b31ce Add tooltip to invisible_elems 2022-07-18 11:53:35 +12:00
luk3yx
49567b7055 Add gui.Spacer 2022-07-18 11:35:31 +12:00
luk3yx
fa003ade20 Fix formname prefix 2022-07-15 15:42:06 +12:00
luk3yx
fe9edc9000 Fix printing debug information 2022-07-15 13:01:02 +12:00
luk3yx
4c7996c915 Initial commit 2022-07-15 12:38:09 +12:00