MCPcopy
hub / github.com/lxn/walk / PerformLayout

Method PerformLayout

boxlayout.go:237–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235}
236
237func (li *boxLayoutItem) PerformLayout() []LayoutResultItem {
238 cb := Rectangle{Width: li.geometry.ClientSize.Width, Height: li.geometry.ClientSize.Height}
239 return boxLayoutItems(li, itemsToLayout(li.children), li.orientation, li.alignment, cb, li.margins96dpi, li.spacing96dpi, li.hwnd2StretchFactor)
240}
241
242func boxLayoutFlags(orientation Orientation, children []LayoutItem) LayoutFlags {
243 if len(children) == 0 {

Callers

nothing calls this directly

Calls 2

boxLayoutItemsFunction · 0.85
itemsToLayoutFunction · 0.85

Tested by

no test coverage detected