RSGBox automatic sizing not working properly.
retrixe opened this issue · 9 comments
retrixe commented
By default, RSGBox should take up as much space as possible, but it does not. Or at least enough size to accommodate the insides.
radi-cho commented
Wait...., send screenshot
retrixe commented
Look at the example code and see the height and width props. Remove them and see.
radi-cho commented
retrixe commented
I actually placed newlines between the 4 fields.
Instead, RSGBox puts them together.
radi-cho commented
OK
radi-cho commented
retrixe commented
br
did not work since beginning. Also, we are talking JSX, I believe, which is syntactically different from HTML in some aspects. Box should scale automatically according to contents, or preferably, as much space as possible, like a true div, and height need not be specified, like a true div.
retrixe commented
It seems to work now. Close this.