<div dir="ltr"><div><div><div><div><div><div>I have some comments/questions on the current v6 interface which I'd like clarifying before we make it stable.<br></div><div><br></div>The Positioner anchor and gravity both takes the edge as a bitfield of flags.<br><br></div>It's then part of the protocol to say "If two parallel anchor edges are specified (e.g. 'left' and 'right'), the invalid_input error is raised."<br><br></div>I don't understand why we don't use 9 enum values; none, topleft, top, topright etc. as it forbids even the possibility of an invalid input. It's what we do in the top level resize edge. It seems cleaner and safer wtih no drawbacks<br><br></div><div> ----<br><br></div><div>Also on the positioner, when I have an offset from an anchor what is the intended behaviour in the compositor for applying this if I end up flipping or sliding due to constraints? <br></div>Any user interface element isn't going to line up after it's constrained in the same axis as the offset...unless we allow clients to specify an offset for every possible constraint.<br></div><div><br></div>Regards<br><br></div>David<br></div>