https://github.com/justinfincher/uiwidgets.scrollview
https://github.com/justinfincher/uiwidgets.scrollview
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/justinfincher/uiwidgets.scrollview
- Owner: JustinFincher
- Created: 2019-05-18T14:27:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-18T15:20:36.000Z (over 6 years ago)
- Last Synced: 2024-12-28T04:28:32.942Z (9 months ago)
- Language: C#
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIWidgets.ScrollView
> 2D ScrollView for UIWidgets# How to add
Add this line to your package.json dependencies list
```
"com.justzht.uiwidgets.scrollview": "https://github.com/JustinFincher/UIWidgets.ScrollView.git"
```# Usage
```csharp
new ScrollView
(
Widget child, // child, usually a container
float minScale = 0.5f, // minimal scale value
float maxScale = 3.0f,
float contentSizeWidth = 2000, // content size
float contentSizeHeight = 2000, // content size
Key key = null
);
```# Notice
This package have a dependency called 'com.justzht.uiwidgets.helper', which you can find on [UIWidgets.Helpers](https://github.com/JustinFincher/UIWidgets.Helpers).