mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
chore(textinput): use a getter and setter for width
This commit is contained in:
+1
-1
@@ -691,7 +691,7 @@ func (m *Model) setSize(width, height int) {
|
||||
m.width = width
|
||||
m.height = height
|
||||
m.Help.Width = width
|
||||
m.FilterInput.Width = width - promptWidth - lipgloss.Width(m.spinnerView())
|
||||
m.FilterInput.SetWidth(width - promptWidth - lipgloss.Width(m.spinnerView()))
|
||||
m.updatePagination()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user