Support percentages in templates (server side)

Add methods to set positions as percentage plus offset:

  Cell.setLeft/Right/Top/Bottom( float percentage, int offset )

Percentage is a floating point value between 0 and 100.

Alternatives were:
- values in the range [0 and 1]
- two int values to represent fractions as in FormLayout
However, using percentages seem to be most intuitive and this is
similar to the box model used in CSS.

Change-Id: I3b88c87f5d046b32ad8213d60c15229f85b08b61
Signed-off-by: Ralf Sternberg <rsternberg@eclipsesource.com>
4 files changed
tree: a5896f5feb69bbb937a0cd92845487695d3fe442
  1. bundles/
  2. examples/
  3. features/
  4. releng/
  5. tests/
  6. .gitignore