Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.94 KB

notes.rst

File metadata and controls

49 lines (39 loc) · 1.94 KB

Random not Categorized Notes

Node Geometry

spacing  spacing
spacing / spacing

port port / | | width | | | | width | | 0

0 |
                Caption | caption height
            ________________ | ___
            | | | ___ spacing
            | | |

O In Name | | Out Name O entry | | | | ___ | | | | ___ spacing | | | | O Another In | | Out Name O | | | | | | | | | | | | O | | O | | | | | | | | O | | | _________________________________________/

Node's size must be recalculated in following cases:

  1. After construction.
  2. Embedding the widget.
  3. After resizing.
  4. Before painting (conditional, depends on whether the font metrics was changed).
  5. When incoming data changed (could trigger size changes, maybe in captions).
  6. When embedded widget changes its size.