int (TabInfo eachInfo) { TabLabel label = myTabs.getInfoToLabel().get(eachInfo); return getStrategy().getLengthIncrement(label != null ? label.getPreferredSize() : new Dimension()) + (myTabs.isEditorTabs() ? myTabs.getTabHGap() : 0); }