Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/garden.circularlayout
CircularLayout for Kivy
https://github.com/kivy-garden/garden.circularlayout
Last synced: about 1 month ago
JSON representation
CircularLayout for Kivy
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.circularlayout
- Owner: kivy-garden
- License: mit
- Created: 2015-08-13T22:26:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-14T15:52:20.000Z (over 9 years ago)
- Last Synced: 2023-03-30T18:25:45.457Z (over 1 year ago)
- Language: Python
- Size: 145 KB
- Stars: 6
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CircularLayout
==============CircularLayout is a special layout that places widgets around a circle.
See the widget's documentation and the example for more information.
![Screenshot](screenshot.png)
size_hint
---------size_hint_x is used as an angle-quota hint (widget with higher
size_hint_x will be farther from each other, and viceversa), while
size_hint_y is used as a widget size hint (widgets with a higher size
hint will be bigger).size_hint_x cannot be None.Widgets are all squares, unless you set size_hint_y to None (in that
case you'll be able to specify your own size), and their size is the
difference between the outer and the inner circle's radii. To make the
widgets bigger you can just decrease inner_radius_hint.