I’m trying to use a ListBox so i’ve made a custom ListBoxModel, but the ListBox is providing rowNumbers that are too high. The docs make a mention that this may happen, my question is why/when does it happen, and what am i supposed to do with it. I’m having a ListBox with a model containing 5 items and the listbox is sized to be exactly 5 rows high so this extra callback seems quite odd to me and i have no idea what to do with it, do i just discard it? or how can i prevent it from happening?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
ListBoxModel Question | 2 | 520 | July 16, 2008 | |
TableListBoxModel::paintCell() called getNumRows() + 1 times when vector size is odd (should be getNumRows() times) | 5 | 1014 | July 28, 2020 | |
ListBox rowNum miracle | 7 | 969 | October 8, 2008 | |
Simple ListBox addition | 2 | 374 | May 12, 2017 | |
Possible ListBox bug? | 4 | 338 | May 12, 2017 |