The TableListBox, actually the TableListRowComp, calls the TableListBoxModel::paintCell(…) with the wrong value for the height-parameter. The row-height (default 22px) should be used for the draw/clipregion-height, but instead the header-height (default 28px) is used. You can see the effect of this i.e. in the TableListBox-part of the JUCE-demo, the text ins’t centered on the real row-height, it’s draw below the rows vertial-center.
TableListRowComp::paint(…) could be changed like this to solve this problem:
[code]const int columnId = header->getColumnIdOfIndex (i, true);
Rectangle columnRect (header->getColumnPosition (i));
columnRect.setSize (columnRect.getWidth(), owner.getRowHeight()); // added line
g.saveState();
g.reduceClipRegion (columnRect);
g.setOrigin (columnRect.getX(), 0);
model->paintCell (g, row, columnId, columnRect.getWidth(), columnRect.getHeight(), isSelected);
g.restoreState();[/code]