类型 ItemLayout

API 文档由 Go 源码生成,内容为英文。

type ItemLayout struct {
	// Media is the box reserved by Media or LeadingSpace; empty when none was.
	Media ui.Rect
	// Content is the column holding the title and description.
	Content ui.Rect
}

ItemLayout is where a painted item put its parts, for the caller to fill in.