Sept. 28, 2017
9:56 p.m.
On 28-09-17 21:07, Stephane Ducasse wrote:
For example why a BlElement cannot get invisible and visible in addition to visibility: BlVisibility visible.
It can, and if we do that systematically we end up with a BlElement with a thousand methods. There are so many aspects that an element might need to handle. Handling children, layout, styling, drawing, fonts, events, visibility. Where should the border be? One thing I noted is that in Bloc we don't have a way to decide where to add a dropped element in a parent that has a specified layout. In Morphic that is also a responsibility of the layout. Stephan