DiagramStyle Module
Nested modules
| Modules | Description |
Functions and values
| Function or value | Description |
Full Usage:
belowHeaderStyle headerSize overflow
Parameters:
'a
overflow : OverflowOptions
Returns: HTMLAttr
|
Fill what is left of the height below a header of the given size, scrolling if the content does not fit. The overflow is a parameter rather than always Auto because the caller needs to switch it off for a moment, and saying so with a second Style prop does not work: React keeps the last style it is given and drops the rest, so the height quietly went with it - which left the right tab body with no height at all, and nothing in it able to scroll.
|
|
The strip across the top of the canvas saying that the sheet below is a library component being looked at and cannot be changed. Placed over the canvas rather than above it so that nothing moves when it appears, and it takes no pointer events: it sits on top of the schematic, and a band the mouse could not draw through would be worse than no banner.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
getHeaderHeight
Returns: float
|
|
Full Usage:
headerHeight
Returns: string
|
Where the canvas starts, which must equal where the top menu bar ends. The bar's height is driven by its content: a 40px button inside a navbar-item with 8px of padding above and below is 56px, and the bar starts 2px down from the window's top border. Keep this in step with that. It was 72px from when each button sat inside two nested navbar-items rather than one, and the 14px left over showed as an empty white strip between the line under the menu bar and the line above the canvas.
|
|
|
|
|
|
|
Full Usage:
minEditorWidth ()
Parameters:
unit
Returns: int
|
|
Full Usage:
minViewerWidth
Returns: int
|
|
|
|
|
|
|
|
Full Usage:
refreshSvg color height
Parameters:
string
height : string
Returns: ReactElement
|
|
|
|
|
|
Full Usage:
rightSectionWidthViewerDefault
Returns: int
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|