FlexLayout icon indicating copy to clipboard operation
FlexLayout copied to clipboard

Add ability to make root row vertical

Open slonoed opened this issue 5 years ago • 0 comments

Right now the orientation of the root row always horizontal. https://github.com/caplin/FlexLayout/blob/master/src/model/Node.ts#L81

Would be nice to have an option to change it to vertical.

As a workaround I'm using this on consumer side:

    model._root.getOrientation = () => {
      return Orientation.VERT;
    };

This could be part of global configuration.

slonoed avatar Dec 04 '20 19:12 slonoed