BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
08ee1c97
Commit
08ee1c97
authored
Jun 20, 2017
by
Gabor
Committed by
Kiss-Vamosi Gabor
Jul 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_list: text height bugfix
parent
56f26674
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lv_list.c
lv_objx/lv_list.c
+1
-2
No files found.
lv_objx/lv_list.c
View file @
08ee1c97
...
...
@@ -157,12 +157,11 @@ lv_obj_t * lv_list_add(lv_obj_t * list, const char * img_fn, const char * txt, l
if
(
txt
!=
NULL
)
{
lv_obj_t
*
label
=
lv_label_create
(
liste
,
NULL
);
lv_style_t
*
style_label
=
lv_obj_get_style
(
label
);
lv_label_set_text
(
label
,
txt
);
lv_obj_set_style
(
label
,
ext
->
styles_btn
[
LV_BTN_STATE_REL
]);
lv_obj_set_click
(
label
,
false
);
lv_label_set_long_mode
(
label
,
LV_LABEL_LONG_ROLL
);
lv_obj_set_
size
(
label
,
liste
->
cords
.
x2
-
label
->
cords
.
x1
,
font_get_height
(
style_label
->
font
)
);
lv_obj_set_
width
(
label
,
liste
->
cords
.
x2
-
label
->
cords
.
x1
);
}
return
liste
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment