chore(docs): fix some outdated information (#5144)

This commit is contained in:
Petteri Aimonen
2024-01-02 08:10:13 +02:00
committed by GitHub
parent 797ab90fa1
commit 78ef17a465
4 changed files with 8 additions and 5 deletions
+5 -1
View File
@@ -440,9 +440,13 @@ the given layout.
Built-in layout
---------------
LVGL comes with two very powerful layouts: - Flexbox - Grid
LVGL comes with two very powerful layouts:
* Flexbox: arrange objects into rows or columns, with support for wrapping and expanding items.
* Grid: arrange objects into fixed positions in 2D table.
Both are heavily inspired by the CSS layouts with the same name.
Layouts are described in detail in their own section of documentation.
Flags
-----
+1 -2
View File
@@ -78,8 +78,7 @@ types are `Base object </widgets/obj>`__ and `Image </widgets/img>`__
(to create a wallpaper).
To create a screen, use
``lv_obj_t * scr = lv_<type>_create(NULL, copy)``. ``copy`` can be an
existing screen copied into the new screen.
``lv_obj_t * scr = lv_<type>_create(NULL)``. `NULL` indicates no parent.
To load a screen, use :cpp:expr:`lv_screen_load(scr)`. To get the active screen,
use :cpp:expr:`lv_screen_active()`. These functions work on the default display. If