mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ExpUI] IDEA-288413 Editor tabs: fix insets (Increase length of underline)
GitOrigin-RevId: 63f5326b1ce747e8697265b32fd41f0531fc6224
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5498c12131
commit
5f4df7f503
@@ -110,7 +110,11 @@ class JBEditorTabsBorder(tabs: JBTabsImpl) : JBTabsBorder(tabs) {
|
||||
tabs.tabPainter.paintUnderline(tabs.position, calcRectangle() ?: return, thickness, g, tabs.isActiveTabs(tabs.selectedInfo))
|
||||
} else {
|
||||
val selectedLabel = tabs.selectedLabel ?: return
|
||||
tabs.tabPainter.paintUnderline(tabs.position, selectedLabel.bounds, thickness, g, tabs.isActiveTabs(tabs.selectedInfo))
|
||||
val rect = Rectangle(selectedLabel.bounds)
|
||||
if (ExperimentalUI.isNewUI()) {
|
||||
rect.width += 2
|
||||
}
|
||||
tabs.tabPainter.paintUnderline(tabs.position, rect, thickness, g, tabs.isActiveTabs(tabs.selectedInfo))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user