SetHeight sets the height of this component.
(v int)
| 552 | |
| 553 | // SetHeight sets the height of this component. |
| 554 | func (m *Model) SetHeight(v int) { |
| 555 | m.setSize(m.width, v) |
| 556 | } |
| 557 | |
| 558 | func (m *Model) setSize(width, height int) { |
| 559 | promptWidth := lipgloss.Width(m.Styles.Title.Render(m.FilterInput.Prompt)) |
no test coverage detected