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

Method LayoutFlags

tabwidget.go:735–747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

733}
734
735func (li *tabWidgetLayoutItem) LayoutFlags() LayoutFlags {
736 if len(li.children) == 0 {
737 return ShrinkableHorz | ShrinkableVert | GrowableHorz | GrowableVert | GreedyHorz | GreedyVert
738 }
739
740 var flags LayoutFlags
741
742 for _, page := range li.children {
743 flags |= page.LayoutFlags()
744 }
745
746 return flags
747}
748
749func (li *tabWidgetLayoutItem) MinSize() Size {
750 if len(li.children) == 0 {

Callers

nothing calls this directly

Calls 1

LayoutFlagsMethod · 0.65

Tested by

no test coverage detected