fix second page position

This commit is contained in:
Dennis Ushakov
2015-09-03 08:22:25 +02:00
parent e6dc12474c
commit 587b690fa0
@@ -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;