I just started dynamic components today so possibly I’m making an easy mistake but what I’m attempt to do is create a component window-half-frame which represents one of the two sliding components of the overall window pane. Each window-half-frame has properties to state the number of “rows” and “columns” which then inserts the appropriate number of window-pane components.
Here is a picture – https://www.screencast.com/t/H9OOvrPQ5 – which demonstrates:
- The exposed properties of the parent component
- That the parent component is supposed to be 21" (as per both the LenZ property and the functional calculation which is: = (PaneSize * PaneRows) + PaddingBottom + PaddingTop )
- But as you can see the measured height of the component is NOT equivalent to LenZ
Now as a side note, I’m getting the same effect regarding the depth of the parent versus child components where the child component is correctly setting depth but again the parent is not. I suspect both are probably the same underlying cause.
Another observation, I can change the left and right padding variables and the component correctly puts the right amount of padding in. However, when I do effectively the same thing with top and bottom padding, it does have some impact on how tall the component is but while PaddingBottom seems to work correctly PaddingTop does not.