@Override
    public Integer getValue(final RadComponent component) {
      if (component.getCustomLayoutConstraints() instanceof GridBagConstraints gbc) {
        return myIsIpadX ? gbc.ipadx : gbc.ipady;
      }
      return 0;
    }
@Override
    public Integer getValue(final RadComponent component)