This commit is contained in:
Martin Pander
2024-06-04 16:45:57 +02:00
parent 9aa7b04b98
commit 0572763e31
6 changed files with 38 additions and 18 deletions

View File

@ -210,8 +210,9 @@ func (p *TaskEditorPage) View() string {
area = focusStyle.Render(p.areas[p.area].View())
}
return lipgloss.JoinHorizontal(
lipgloss.Left,
lipgloss.Center,
picker,
area,
)
@ -352,6 +353,9 @@ func NewAreaPicker(common *common.Common, items []string) *areaPicker {
list := list.New(listItems, list.DefaultDelegate{}, 20, 50)
list.SetFilteringEnabled(false)
list.SetShowStatusBar(false)
list.SetShowHelp(false)
list.SetShowPagination(false)
list.SetShowTitle(false)
return &areaPicker{
common: common,