Design the UI architecture #65
Labels
Backlog
Issues that have been prioritised and analysed by the dev team
New feature
To groom
Issue that needs a better analysis
Detailed Description
The UI should use all the child and parent architecture of the Object system, but it would be nice to have a constraint system too; things like size constraints and position constraints. Layouts would also be quite beneficial.
Context (Environment)
https://www.youtube.com/watch?v=d5ttbNtpgi4&t=0s
This video have some great ideas. I still think it's UI is incomplete, but the ideas remain. Some inspiration can also be taken from many UI frameworks of mobile.
Possible Implementation
Like said in the description, constraints should be the way to go. We could add many types of constraints and set their behaviour, link them together, override them, etc. Layouts could probably be only a way to apply constraints to children, but children should be able to override them (with some extent);
For example, let's say we have a vertical layout that arrange items on top of each others with every item the same size, but the children could have a constraint that makes them grow verticaly to accomodate for more text. Other items in the layout would still be controlled by the constraints of the layout but this particular item that needs special attention should be able to override some behaviour. We could also have forced constraints like this layout could force the horizontal size to be fixed.
The text was updated successfully, but these errors were encountered: