(ctx *LayoutContext)
| 44 | } |
| 45 | |
| 46 | func (tb *ToolButton) CreateLayoutItem(ctx *LayoutContext) LayoutItem { |
| 47 | return &toolButtonLayoutItem{ |
| 48 | idealSize: tb.dialogBaseUnitsToPixels(Size{16, 12}), |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | type toolButtonLayoutItem struct { |
| 53 | LayoutItemBase |
nothing calls this directly
no test coverage detected