boolean (SingleRowPassInfo data, TabLabel label, int length) { final Rectangle rec = getStrategy().getLayoutRect(data, data.position, length); myTabs.layout(label, rec); label.setAlignmentToCenter(myTabs.isEditorTabs() && getStrategy().isToCenterTextWhenStretched()); return true; }