Slight refactoring
This commit is contained in:
parent
994d31ac3f
commit
ea4d664511
4 changed files with 100 additions and 82 deletions
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "layout"
|
||||
name = "shinekit-layout-example"
|
||||
version = "0.1.0"
|
||||
authors = ["Ryan McGrath <ryan@rymc.io>"]
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Reference in a new issue