Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/briarfox/uiStyle
Style pythonista ui.view
https://github.com/briarfox/uiStyle
Last synced: about 2 months ago
JSON representation
Style pythonista ui.view
- Host: GitHub
- URL: https://github.com/briarfox/uiStyle
- Owner: briarfox
- Created: 2014-08-17T16:17:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-19T06:06:29.000Z (over 10 years ago)
- Last Synced: 2024-08-08T00:44:14.425Z (5 months ago)
- Language: Python
- Size: 233 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - briarfox/uiStyle - Style pythonista ui.view (Python)
README
uiStyle
=======Style pythonista ui.View from one .pyui template.
###To use:
* Create a ui.View file and add controls that you would like to have all other views styled after.
* Each control needs a unique name such as lbl1 - a style of label, lbl2 - another style of label.
* To use a controls style, just set the name of the style to the front of the control name.
* Example: Style ui.View has a lbl1. Your main view could have a lbl1name. the lbl1 is removed when the view is styled.
To style a view call uiStyle.style(path_or_view_object, view_to_style)