in Java, Borderlayout handles only 1 element per constraint (NORTH /SOUTH/EAST/WEST/CENTER)
this means we need to remove sometimes the elements.
"0%" is not working sometimes, this is why I rewrite to "0px".
In Java Gui there are no borders and no paddings, so i add some styling
I copied from Oracle code the Container's layout handling.
This means on add, need to set parent, and call layoutmanager add (which sets HTMLElement parents too)
And on delete the same as expected
in Java, Borderlayout handles only 1 element per constraint (NORTH /SOUTH/EAST/WEST/CENTER) this means we need to remove sometimes the elements.
"0%" is not working sometimes, this is why I rewrite to "0px". In Java Gui there are no borders and no paddings, so i add some styling
I copied from Oracle code the Container's layout handling. This means on add, need to set parent, and call layoutmanager add (which sets HTMLElement parents too) And on delete the same as expected