Merged PR 199: Add more Position for the dimensions + rename isDimensionBorrower and MarkPosition... + Refactor components in ContainerForm with Checkboxes and Selector + Add more docs
Add more Position for the dimensions Rename isDimensionBorrower and MarkPosition... Refactor components in ContainerForm with Checkboxes and Selector Add more docs
This commit is contained in:
parent
38666af314
commit
b88539e34d
13 changed files with 494 additions and 314 deletions
|
@ -2,6 +2,7 @@ import * as React from 'react';
|
|||
import { PositionReference } from '../Enums/PositionReference';
|
||||
import { IMargin } from './IMargin';
|
||||
import { Orientation } from '../Enums/Orientation';
|
||||
import { Position } from '../Enums/Position';
|
||||
|
||||
/**
|
||||
* Properties of a container
|
||||
|
@ -73,22 +74,22 @@ export interface IContainerProperties {
|
|||
hideChildrenInTreeview: boolean
|
||||
|
||||
/** if true, show the dimension of the container */
|
||||
showSelfDimensions: boolean
|
||||
showSelfDimensions: Position[]
|
||||
|
||||
/** if true show the overall dimensions of its children */
|
||||
showChildrenDimensions: boolean
|
||||
showChildrenDimensions: Position[]
|
||||
|
||||
/**
|
||||
* if true, allows a parent dimension borrower to borrow its x coordinate
|
||||
* as a reference point for a dimension
|
||||
*/
|
||||
markPositionToDimensionBorrower: Orientation[]
|
||||
markPosition: Orientation[]
|
||||
|
||||
/**
|
||||
* if true, show a dimension from the edge of the container to end
|
||||
* and insert dimensions marks at lift up children (see liftDimensionToBorrower)
|
||||
*/
|
||||
isDimensionBorrower: boolean
|
||||
showDimensionWithMarks: Position[]
|
||||
|
||||
/**
|
||||
* Warnings of a container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue