docs minor updates

This commit is contained in:
Gabor Kiss-Vamosi
2021-04-30 20:33:29 +02:00
parent cba67447f2
commit b58bdb4f0d
5 changed files with 10 additions and 2 deletions

BIN
docs/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -23,6 +23,8 @@ An object's "box" is built from the following parts:
- padding: space between the sides of the object and its children. - padding: space between the sides of the object and its children.
- content: the content area which size if the bounding box reduced by the size of the paddings. - content: the content area which size if the bounding box reduced by the size of the paddings.
![The box models of LVGL: The content area is smaller then the bounding box with the padding](/misc/boxmodel.png)
The border is drawn inside the bounding box and doesn't take an extra space. (It's different from CSS in which increasing the border width makes the object larger.) The border is drawn inside the bounding box and doesn't take an extra space. (It's different from CSS in which increasing the border width makes the object larger.)
The outline is drawn outside of the bounding box. The outline is drawn outside of the bounding box.

View File

@@ -12,16 +12,19 @@
:maxdepth: 2 :maxdepth: 2
object object
coords
style
scroll
layer layer
event event
style
indev indev
display display
font font
image image
file-system file-system
animation animation
task timer
drawing drawing
new_widget
``` ```

View File

@@ -225,6 +225,9 @@ In the documentation of the widgets you will see sentences like "The widget use
- Border - Border
- Outline - Outline
- Shadow - Shadow
- Padding
- Width and height transformation
- X and Y translation
## Transitions ## Transitions