int (final RadContainer container, boolean isRow) { Size size = isRow ? FormFactory.RELATED_GAP_ROWSPEC.getSize() : FormFactory.RELATED_GAP_COLSPEC.getSize(); if (size instanceof ConstantSize) { return ((ConstantSize) size).getPixelSize(container.getDelegee()); } return 0; }