Code: Select all
local style = data.raw["gui-style"].default
style.StyleTestA =
{
type = "button_style",
parent = "frame_action_button",
width = 66
}
Code: Select all
local style = data.raw["gui-style"].default
style.StyleTestB =
{
type = "button_style",
parent = "close_button",
width = 66
}
Prototype/GuiStyle says we have to use ["gui-style"].default.
Is there a better/recommended way of defining a style?