minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-14 14:56:34 +01:00
parent 95b1bd8409
commit bb08660cb6
105 changed files with 731 additions and 891 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
/**
* A simple row and a column layout with flexbox
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
/**
* Arrange items in rows with wrap and place the items to get even space around them.
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
/**
* Use a built in flex layout and demonstrate flex grow.
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
/**
* Reverse the order of flex items
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
static void row_gap_anim(lv_obj_t * obj, lv_anim_value_t v)
{
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_FLEX
#if LV_USE_FLEX && LV_BUILD_EXAMPLES
/**
* RTL base direction changes order of the items.
+1 -3
View File
@@ -1,7 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
/**
* A simple grid
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
/**
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
/**
* Demonstrate grid's "free unit"
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
/**
* Demonstrate track placement
+2 -3
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
static void row_gap_anim(lv_obj_t * obj, lv_anim_value_t v)
{
@@ -12,7 +11,7 @@ static void column_gap_anim(lv_obj_t * obj, lv_anim_value_t v)
lv_obj_set_style_pad_column(obj, LV_PART_MAIN, LV_STATE_DEFAULT, v);
}
/**
* Demonstrate margin in grid
* Demonstrate column and row gap
*/
void lv_example_grid_5(void)
{
+1 -2
View File
@@ -1,6 +1,5 @@
#include "../../../lvgl.h"
#if LV_USE_GRID
#if LV_USE_GRID && LV_BUILD_EXAMPLES
/**
* Demonstrate RTL direction on grid