natTable.addConfiguration(new DefaultRowHeaderStyleConfiguration() {
{
cellPainter = new LineBorderDecorator(
new TextPainter(false, true, 2, true));
}
});
]]>Jay Norwood2012-10-16T22:24:08-00:00Re: auto-resizing the column headerhttps://www.eclipse.org/forums/index.php/mv/msg/405313/947520/#msg_947520
it is not a hard coded font size, it is a different configuration of the row height / column width in the DataLayer. The rendering of the cell bounds doesn't take the font size into account. You have to set this on creating the DataLayer.

Feel free to open a bug if it is necessary that the row height / column width should at least calculated taking the font into account.