How does the percentage behave on Canvas? I am encountering an error when I try to place two elements, each with 50% width, inside a column on the Canvas.
8 Likes
Currently, percentage works on the basis of canvas and not on parent layout.
Ex, if we have a row with 50% width of the Canvas, then we cannot have the child components more than 50% since both the width are with respect to Canvas .
7 Likes
Percentage will work with respect to canvas width.
Suppose, Column width is 300px and you want to place 2 elements next to each other with width 50%. Then you need to give 150px fix width in both the elements.
If you give 50% width that will become the 375(canvas width)/2 = 187.5
6 Likes