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
b2ef660b
Commit
b2ef660b
authored
Nov 21, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_tabview: obj type check in realign
parent
2f896ab0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lv_tabview.c
lv_objx/lv_tabview.c
+3
-1
No files found.
lv_objx/lv_tabview.c
View file @
b2ef660b
...
...
@@ -686,7 +686,9 @@ static void tabview_realign(lv_obj_t * tabview)
lv_obj_t
*
pages
=
lv_obj_get_child
(
ext
->
content
,
NULL
);
while
(
pages
!=
NULL
)
{
lv_obj_set_size
(
pages
,
lv_obj_get_width
(
tabview
),
lv_obj_get_height
(
ext
->
content
));
if
(
lv_obj_get_signal_func
(
pages
)
==
tabpage_signal
)
{
/*Be sure adjust only the pages (user can other things)*/
lv_obj_set_size
(
pages
,
lv_obj_get_width
(
tabview
),
lv_obj_get_height
(
ext
->
content
));
}
pages
=
lv_obj_get_child
(
ext
->
content
,
pages
);
}
...
...
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