I have a pane in a layout.
If I dim the pane as Pane and via code set its height to 0, the height is 0 - as expected.
If I dim the pane as B4XView and via code set its height to 0, the height is automatically set to same as width - making it a square.
Is this the expected and documented behaviour? I'm very confused, because the same code in B4A actually sets the height to 0. (I think I might have seen that it got square in B4i also.)
If I dim the pane as Pane and via code set its height to 0, the height is 0 - as expected.
If I dim the pane as B4XView and via code set its height to 0, the height is automatically set to same as width - making it a square.
Is this the expected and documented behaviour? I'm very confused, because the same code in B4A actually sets the height to 0. (I think I might have seen that it got square in B4i also.)