Documentation ¶
Index ¶
Constants ¶
View Source
const ( ListHeight = 15 DefaultWidth = 20 )
Variables ¶
View Source
var ( TitleStyle = lipgloss.NewStyle().MarginLeft(2) ItemStyle = lipgloss.NewStyle().PaddingLeft(4) SelectedItemStyle = lipgloss.NewStyle().PaddingLeft(2).Foreground(lipgloss.Color("170")) PaginationStyle = list.DefaultStyles().PaginationStyle.PaddingLeft(4) HelpStyle = list.DefaultStyles().HelpStyle.PaddingLeft(4).PaddingBottom(1) QuitTextStyle = lipgloss.NewStyle().Margin(1, 0, 2, 4) )
Functions ¶
This section is empty.
Types ¶
type ItemDelegate ¶
type ItemDelegate struct{}
func (ItemDelegate) Height ¶
func (d ItemDelegate) Height() int
func (ItemDelegate) Spacing ¶
func (d ItemDelegate) Spacing() int
Click to show internal directories.
Click to hide internal directories.