Add FitHeight and FitWidth + move relative positioning to bitmasks

Signed-off-by: Marc Lefrançois <mlefrancois@mirego.com>