// if any of the scaling values are set, they all need to be set
if (scaleGridBottom != null || scaleGridLeft != null || scaleGridRight != null || scaleGridTop != null)
{
if (scaleGridBottom == null || scaleGridLeft == null || scaleGridRight == null || scaleGridTop == null)
{
problems.add(new EmbedScalingGridProblem(location));
result = false;
}
else
{
// values ok, so turn on scaling