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
8cda3dc1
Commit
8cda3dc1
authored
Oct 04, 2016
by
Gabor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scrollbar bugfix on page (scrolling properly in hpad/vpad too)
parent
d9b063d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lv_page.c
lv_objx/lv_page.c
+2
-2
No files found.
lv_objx/lv_page.c
View file @
8cda3dc1
...
...
@@ -462,7 +462,7 @@ static void lv_page_sb_refresh(lv_obj_t* page_dp)
lv_inv_area
(
&
page_ext_dp
->
sbv
);
/*Horizontal scrollbar*/
if
(
scrolling_w
<=
obj_w
)
{
/*Full sized scroll bar*/
if
(
scrolling_w
<=
obj_w
-
2
*
hpad
)
{
/*Full sized scroll bar*/
area_set_width
(
&
page_ext_dp
->
sbh
,
obj_w
-
pages_p
->
sb_width
);
area_set_pos
(
&
page_ext_dp
->
sbh
,
page_x0
,
page_y0
+
obj_h
-
pages_p
->
sb_width
);
}
else
{
...
...
@@ -479,7 +479,7 @@ static void lv_page_sb_refresh(lv_obj_t* page_dp)
}
/*Vertical scrollbar*/
if
(
scrolling_h
<=
obj_h
)
{
/*Full sized scroll bar*/
if
(
scrolling_h
<=
obj_h
-
2
*
vpad
)
{
/*Full sized scroll bar*/
area_set_height
(
&
page_ext_dp
->
sbv
,
obj_h
-
pages_p
->
sb_width
);
area_set_pos
(
&
page_ext_dp
->
sbv
,
page_x0
+
obj_w
-
pages_p
->
sb_width
,
0
);
}
else
{
...
...
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