Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scriptable viewport #19

Closed
christoph-hart opened this issue Jun 8, 2017 · 1 comment
Closed

Add scriptable viewport #19

christoph-hart opened this issue Jun 8, 2017 · 1 comment

Comments

@christoph-hart
Copy link
Collaborator

/** Adds a new viewport */
Content.addViewPort(name, x, y);

set it as parentComponent for another UI control and it will display it in a scrollable viewport

Properties:

  • scrollbarThickness
  • autoHide - hides the scrollbars if the content is smaller than the viewport

Colours:

  • itemColour1: scrollbar colour
@christoph-hart
Copy link
Collaborator Author

fixed with 7f9d1bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant