Lua and non Lua build menus
Moderator: Moderators
-
- Posts: 265
- Joined: 04 Sep 2005, 01:25
Lua and non Lua build menus
I was wondering, why isn't it optional to disable the default LUA menu structure so it uses the original non-LUA structure? I'd like to be able to use either rather than forced to use one.
-
- Posts: 265
- Joined: 04 Sep 2005, 01:25
yeah, it's like this. My Dad really likes the non LUA build menus and such, but there's too many cool things about LUA scripts to ignore using them. But he can't stand the default LUA build menus. He says "they're too small" or whatever. I was wondering if a the default and or bigger build menu buttons could be made?
In the interim ... edit the last line of $SPRING/LuaUI/layout.lua:
change "LayoutButtons = DefaultHandler" to "LayoutButtons = nil"
You can also remove the first active line in main.lua to avoid reloading
ctrlpanel.txt with the one in LuaUI/ (in case you also want to use the
standard ctrlpanel.txt settings without editting the LuaUI version).
change "LayoutButtons = DefaultHandler" to "LayoutButtons = nil"
You can also remove the first active line in main.lua to avoid reloading
ctrlpanel.txt with the one in LuaUI/ (in case you also want to use the
standard ctrlpanel.txt settings without editting the LuaUI version).