Skip to content

Commit 16575de

Browse files
authored
Fix error in Gotchas section (#204)
1 parent 80c7de7 commit 16575de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

markdown/api/type/ScrollViewWidget/setSize.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Updates the width and height of a [ScrollViewWidget][api.type.ScrollViewWidget].
1919

2020
## Gotchas
2121

22-
Calling this function will mess with the x position of the scrollbar. To fix this, call [object:setScrollHeight()][api.type.ScrollViewWidget.setScrollHeight] after calling this method. If you would not like to reset the scroll height, then it might be a good idea to hide the scrollbar completely.
22+
This method will alter the scroll bar’s horizontal position. To fix this issue, call [object:setScrollWidth()][api.type.ScrollViewWidget.setScrollWidth] immediately afterwards. If you choose not to reset the scroll width, hiding the scroll bar is recommended.
2323

2424
## Syntax
2525

0 commit comments

Comments
 (0)