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
79b07f84
Commit
79b07f84
authored
Jun 17, 2017
by
Kiss-Vamosi Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_mbox set_btn_styles: bugfix if set styles with still no button created
parent
5d293026
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
lv_mbox.c
lv_objx/lv_mbox.c
+7
-4
No files found.
lv_objx/lv_mbox.c
View file @
79b07f84
...
...
@@ -238,11 +238,14 @@ void lv_mbox_set_styles_btn(lv_obj_t * mbox, lv_style_t * rel, lv_style_t * pr)
ext
->
style_btn_rel
=
rel
;
ext
->
style_btn_pr
=
pr
;
lv_obj_t
*
btn
=
lv_obj_get_child
(
ext
->
btnh
,
NULL
);
while
(
btn
!=
NULL
)
{
lv_btn_set_styles
(
btn
,
rel
,
pr
,
NULL
,
NULL
,
NULL
);
btn
=
lv_obj_get_child
(
mbox
,
btn
);
if
(
ext
->
btnh
!=
NULL
)
{
lv_obj_t
*
btn
=
lv_obj_get_child
(
ext
->
btnh
,
NULL
);
while
(
btn
!=
NULL
)
{
lv_btn_set_styles
(
btn
,
rel
,
pr
,
NULL
,
NULL
,
NULL
);
btn
=
lv_obj_get_child
(
mbox
,
btn
);
}
}
}
...
...
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