void (Container parent) { int prefWidth = parent.getPreferredSize().width; synchronized (parent.getTreeLock()) { if (!myInfo.isPinned() && myTabs != null && myTabs.getEffectiveLayout$intellij_platform_ide().isScrollable() && (ExperimentalUI.isNewUI() && !isHovered() || myTabs.isHorizontalTabs()) && isShowTabActions() && isTabActionsOnTheRight() && parent.getWidth() < prefWidth) { layoutScrollable(parent); } else if (!myInfo.isPinned() && isCompressionEnabled && !isHovered() && !isSelected() && parent.getWidth() < prefWidth) { layoutCompressible(parent); } else { super.layoutContainer(parent); } } }