Update README.md

This commit is contained in:
Booklordofthedings 2024-06-07 18:45:29 +02:00
parent fbbe2b1900
commit 3228682398

View file

@ -4,10 +4,10 @@
### Components
- Container
- Screen
- Button
- [Button](docs/Button.md)
### Layouting
*Tg* uses a layouting system thats partially inspired by HTML, though its significantly less powerfull but easier to implement and to grasp.
*Tg* uses a layouting system thats partially inspired by HTML, though its significantly less powerful but easier to implement and to grasp.
All components are put next to their immidiate left neighbor.
If an object would overflow outside of the view width, it will instead be forced down onto the next row.
Calling *EndRow()* manually will also force components into the next row.
@ -20,4 +20,4 @@ Every component also has a Margin property, to make things look better.
Whenever a component changes its size, the app will need to reorder its layout to fit everything.
*App.ForceReorder()* Is used for that. Most components will call it themselves if their size changes
If you want to change alot of sizes at once consider turning of *App.AllowReorder* and then manually calling it after you are done to increase the total speed.
If you want to change alot of sizes at once consider turning of *App.AllowReorder* and then manually call *App.ForceReorder()* after you are done to decrease useless reorders.