mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix second page position
This commit is contained in:
@@ -293,7 +293,7 @@ public class BreadcrumbsComponent<T extends BreadcrumbsItem> extends JComponent
|
||||
|
||||
if (rightmostCrumb != null && screenWidth < width) {
|
||||
// add first dummy crumb
|
||||
result.add(result.indexOf(rightmostCrumb) + 2, new DummyCrumb(width - screenWidth));
|
||||
result.add(result.indexOf(rightmostCrumb) + 2, new DummyCrumb(width - screenWidth - forward.getWidth() - 8));
|
||||
}
|
||||
|
||||
//assert screenWidth < width;
|
||||
|
||||
Reference in New Issue
Block a user