switch (getOrientation()) { case HORIZONTAL_ORIENTATION: sm.putBlockWidthRelative(idx, true); fs = value.getFloatValue() * ctx.getBlockWidth(elt) / 100f; break; break; default: // Both sm.putBlockWidthRelative(idx, true); sm.putBlockHeightRelative(idx, true); double w = ctx.getBlockWidth(elt);
switch (getOrientation()) { case HORIZONTAL_ORIENTATION: sm.putBlockWidthRelative(idx, true); fs = value.getFloatValue() * ctx.getBlockWidth(elt) / 100f; break; break; default: // Both sm.putBlockWidthRelative(idx, true); sm.putBlockHeightRelative(idx, true); double w = ctx.getBlockWidth(elt);
switch (getOrientation()) { case HORIZONTAL_ORIENTATION: sm.putBlockWidthRelative(idx, true); fs = value.getFloatValue() * ctx.getBlockWidth(elt) / 100f; break; break; default: // Both sm.putBlockWidthRelative(idx, true); sm.putBlockHeightRelative(idx, true); double w = ctx.getBlockWidth(elt);