@Override
    public void layoutContainer(Container container) {
      if (container instanceof Breadcrumbs breadcrumbs) {
        Rectangle bounds = new Rectangle(breadcrumbs.getWidth(), breadcrumbs.getHeight());
        JBInsets.removeFrom(bounds, breadcrumbs.getInsets());
        int scale = breadcrumbs.getScale();
        for (CrumbView view : breadcrumbs.views) {
          if (view.crumb != null) {
            view.update();
            view.setBounds(bounds.x, bounds.y, view.preferred.width, bounds.height, scale);
            bounds.x += view.preferred.width;
          }
        }
      }
    }
@Override
    public void layoutContainer(Container container)