MCPcopy Create free account
hub / github.com/lxn/walk / CreateLayoutItem

Method CreateLayoutItem

progressbar.go:66–71  ·  view source on GitHub ↗
(ctx *LayoutContext)

Source from the content-addressed store, hash-verified

64}
65
66func (pb *ProgressBar) CreateLayoutItem(ctx *LayoutContext) LayoutItem {
67 return &progressBarLayoutItem{
68 idealSize: pb.dialogBaseUnitsToPixels(Size{50, 14}),
69 minSize: pb.dialogBaseUnitsToPixels(Size{10, 14}),
70 }
71}
72
73type progressBarLayoutItem struct {
74 LayoutItemBase

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected