Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/garden.simpletablelayout
Simple Table Layout: Implements table layout with rowspan / colspan capabilities (like HTML tables)
https://github.com/kivy-garden/garden.simpletablelayout
Last synced: about 1 month ago
JSON representation
Simple Table Layout: Implements table layout with rowspan / colspan capabilities (like HTML tables)
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.simpletablelayout
- Owner: kivy-garden
- License: mit
- Created: 2015-09-21T20:59:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T11:29:20.000Z (about 9 years ago)
- Last Synced: 2023-03-30T19:42:45.684Z (over 1 year ago)
- Language: Python
- Size: 156 KB
- Stars: 11
- Watchers: 6
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
![screenshot](screenshot.png)
Simple Table Layout
===================Simple Table like Layout that understands rowspan and colspan properties of children (like HTML tables).
Usage (kv):
Example 1:
SimpleTableLayout:
rows: 2
cols: 2Button:
text: "C1"
colspan: 2
Button:
text: "C2"
Button:
text: "C3"creates:
###########
# C1 #
###########
# C2 # C3 #
###########Example 2:
SimpleTableLayout:
rows: 2
cols: 2Button:
text: "C1"
rowspan: 2
Button:
text: "C2"
Button:
text: "C3"creates:
###########
# # C2 #
# C1 ######
# # C3 #
###########Lastly, SimpleTableLayout.cell(row, col) returns widget at that position in the grid.
License
=======
MIT license.Credits
=======
Author: Jeyson Molina