Update README.md
This commit is contained in:
parent
fbbe2b1900
commit
3228682398
1 changed files with 3 additions and 3 deletions
|
@ -4,10 +4,10 @@
|
||||||
### Components
|
### Components
|
||||||
- Container
|
- Container
|
||||||
- Screen
|
- Screen
|
||||||
- Button
|
- [Button](docs/Button.md)
|
||||||
|
|
||||||
### Layouting
|
### 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.
|
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.
|
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.
|
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.
|
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
|
*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.
|
Loading…
Add table
Reference in a new issue