mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix navigation crumbs size
This commit is contained in:
@@ -572,7 +572,7 @@ public class BreadcrumbsComponent<T extends BreadcrumbsItem> extends JComponent
|
||||
@NotNull final FontMetrics fm,
|
||||
final boolean forward,
|
||||
@NotNull final Painter p) {
|
||||
super(forward ? FORWARD : BACKWARD, p.getSize(forward ? FORWARD : BACKWARD, fm, Integer.MAX_VALUE).width);
|
||||
super(forward ? FORWARD : BACKWARD, p.getSize(forward ? FORWARD : BACKWARD, fm, Integer.MAX_VALUE).width + 14);
|
||||
myForward = forward;
|
||||
myLine = line;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user