Struct Offset

Struct Documentation

struct Offset

Placement offset added to a parent-content anchor in logical UI coordinates.

Public Members

tgui::Vector2f fixed = {0, 0}

Fixed X/Y logical offsets.

tgui::Vector2f relative = {0, 0}

Fractions of the current parent’s content width/height.