MCPcopy Create free account
hub / github.com/cogentcore/core / SizeFinal

Method SizeFinal

core/widget.go:71–71  ·  view source on GitHub ↗

SizeFinal: (bottom-up) similar to SizeUp but done at the end of the Sizing phase: first grows widget Actual sizes based on their Grow factors, up to their Alloc sizes. Then gathers this updated final actual Size information for layouts to register their actual sizes prior to positioning, which requ

()

Source from the content-addressed store, hash-verified

69 // prior to positioning, which requires accurate Actual vs. Alloc
70 // sizes to perform correct alignment calculations.
71 SizeFinal()
72
73 // Position uses the final sizes to set relative positions within layouts
74 // according to alignment settings, and Grow elements to their actual

Callers 12

SizeFinalMethod · 0.65
SizeFinalMethod · 0.65
SizeFinalMethod · 0.65
SizeFinalMethod · 0.65
SizeFinalMethod · 0.65
layoutSceneMethod · 0.65
sizeFinalPartsMethod · 0.65
SizeFinalMethod · 0.65
sizeFinalChildrenMethod · 0.65
sizeFinalChildrenMethod · 0.65
SizeFinalMethod · 0.65
SizeFinalMethod · 0.65

Implementers 6

WidgetBasecore/widget.go
_cogentcore_org_core_core_Layouteryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Treeryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Valueyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Widgetyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_filetree_Fileryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected