benilla-re systems structs docs

s_textUsageSSetMinResizeMinWidthMinHeight

global · ui

Address
0x8797b8 · 44 bytes, up to 0x8797e3
Type
char[44]
Meaning
Holds the string "Usage: %s:SetMinResize(minWidth, minHeight)"
Confidence
verified, proof one
Finding
ui/resizebounds#the-lua-methods

Finding: The Lua methods in ui: Frame resize bounds

SetMinResize(width, height) and SetMaxResize(width, height) take two numbers and return nothing; GetMinResize() and GetMaxResize() return the width and the height, 0 and 0 when none was set. A number given as a numeric string counts. A missing or non-numeric argument raises "Usage: <name>:SetMinResize(minWidth, minHeight)" (maximum accordingly), with <unnamed> for a frame without a name. The setters store the numbers as they are: they do not check that the minimum is below the maximum, and do not change the frame's size, so a frame already outside a new bound stays so until it is next sized by a drag.

The derivation is in the doc.