boolean (SingleRowPassInfo data) { boolean layoutLabels = true; if (!myTabs.getForcedRelayout$intellij_platform_ide() && lastSingRowLayout != null && lastSingRowLayout.contentCount == myTabs.getTabCount() && lastSingRowLayout.layoutSize.equals(myTabs.getSize()) && lastSingRowLayout.scrollOffset == getScrollOffset()) { for (TabInfo each : data.myVisibleInfos) { final TabLabel eachLabel = myTabs.getInfoToLabel().get(each); if (!eachLabel.isValid()) { layoutLabels = true; break; } if (myTabs.getSelectedInfo() == each) { if (eachLabel.getBounds().width != 0) { layoutLabels = false; } } } } return layoutLabels; }