s_textUsageSSetMaxResizeMaxWidthMaxHeight
global · ui
- Address
0x8797e4· 44 bytes, up to0x87980f- Type
char[44]- Meaning
- Holds the string "Usage: %s:SetMaxResize(maxWidth, maxHeight)"
- 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.