(ctx *LayoutContext)
| 73 | } |
| 74 | |
| 75 | func (tl *TextLabel) CreateLayoutItem(ctx *LayoutContext) LayoutItem { |
| 76 | return &textLabelLayoutItem{ |
| 77 | width2Height: make(map[int]int), |
| 78 | text: tl.Text(), |
| 79 | font: tl.Font(), |
| 80 | minWidth: tl.MinSizePixels().Width, |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | type textLabelLayoutItem struct { |
| 85 | LayoutItemBase |
nothing calls this directly
no test coverage detected