(ctx *LayoutContext)
| 64 | } |
| 65 | |
| 66 | func (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 | |
| 73 | type progressBarLayoutItem struct { |
| 74 | LayoutItemBase |
nothing calls this directly
no test coverage detected