diff --git a/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java b/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java index d5180805..165f0ef1 100644 --- a/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java +++ b/core/src/main/java/com/github/weisj/darklaf/ui/tabbedpane/DarkTabbedPaneUI.java @@ -389,7 +389,7 @@ public class DarkTabbedPaneUI extends DarkTabbedPaneUIBridge { int x = calculateTabAreaWidth(tabPlacement, runCount, maxTabWidth); switch (tabPlacement) { case TOP: - paintTabAreaBorder(g, tabPlacement, 0, 0, width, y); + paintTabAreaBorder(g, tabPlacement, 0, 0, width, y + 1); break; case BOTTOM: paintTabAreaBorder(g, tabPlacement, 0, height - y, width, y + 1);