One would think that a flow with the setting direction="vertical" would have a type and parent of "flow_style" and "flow" respectively. This is not the case rather its "vertical_flow_style" and "vertical_flow" presumably the corresponding "horizontal" direction likely requires "horizontal_flow_style" and "horizontal_flow" respectively. Please update the API to make these distinct differences more clear. Thanks.
styles.lua / data.lua
Code: Select all
gui = data.raw["gui-style"].default
gui["textlabel_flow"] = { --Note that vertical_flow_style and its parent "vertical_flow" is not in the API.
type = "vertical_flow_style",
parent = "vertical_flow",
left_margin = 10
}