Slight refactoring

This commit is contained in:
Ryan McGrath 2018-06-20 19:18:38 -04:00
parent 994d31ac3f
commit ea4d664511
No known key found for this signature in database
GPG key ID: 811674B62B666830
4 changed files with 100 additions and 82 deletions

View file

@ -1,5 +1,5 @@
[package]
name = "layout"
name = "shinekit-layout-example"
version = "0.1.0"
authors = ["Ryan McGrath <ryan@rymc.io>"]

View file

@ -12,6 +12,7 @@
"sidebar": {
"backgroundColor": {"r": 5, "g": 5, "b": 5},
"width": 200,
"height": 400,
"top": "root.top",
"left": "root.left",
"bottom": "root.bottom"
@ -19,6 +20,8 @@
"content": {
"backgroundColor": {"r": 35, "g": 108, "b": 218},
"width": 100,
"height": 300,
"top": "root.top",
"left": "sidebar.right",
"right": "root.right",