Widgets JSON - GregTechCEu/GregTech GitHub Wiki
Fixed
Fixed widgets are locked in a position and size
They require x
, y
, width
and a height
property (all signed 32 bit integers)
Stream
Streamed widgets's position and size will be calculated from margin and available space. They are also layed out in a column
Requires no default properties
Definition
First you want a type
property. It defines what widget you are placing. Currently those are valid types:
textbox
-> a text boximage
-> an imagecard
->slots
-> a list of slotstanks
-> a list of fluid slots