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 typeproperty. It defines what widget you are placing. Currently those are valid types:

  • textbox -> a text box
  • image -> an image
  • card ->
  • slots -> a list of slots
  • tanks -> a list of fluid slots