|
|
|
@ -214,17 +214,6 @@ public class FineTemplateTabPaneUI extends PanelUI {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void paintLeadingAction(Graphics2D g2d, double tabPaneWidth) { |
|
|
|
|
int x = (leadingWidth - addAction.getIconWidth()) / 2; |
|
|
|
|
int y = (tabHeight - addAction.getIconHeight()) / 2; |
|
|
|
|
if (tabPane.isHoverMoreAction()) { |
|
|
|
|
closeHoverIcon.paintIcon(tabPane, g2d, x, y); |
|
|
|
|
} else { |
|
|
|
|
addAction.paintIcon(tabPane, g2d, x, y); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void paintTrailingAction(Graphics2D g2d, double tabPaneWidth) { |
|
|
|
|
int x = leadingWidth + (int) tabPaneWidth + (trailingWidth - moreAction.getIconWidth()) / 2; |
|
|
|
|