int () { int iconWidth = super.getIconWidth(); int tabWidth = TabLabel.this.getWidth(); int minTabWidth = JBUI.scale(MIN_WIDTH_TO_CROP_ICON); if (isCompressionEnabled && tabWidth < minTabWidth) { return Math.max(iconWidth - (minTabWidth - tabWidth), iconWidth / 2); } else { return iconWidth; } }