backup
This commit is contained in:
parent
fbd61a05d0
commit
466638001b
@ -31,10 +31,10 @@ class TestLayoutView extends BaseView implements View
|
||||
*/
|
||||
|
||||
$this->views = new Views([
|
||||
new Container(style: 'h-100 flex-none bg-slate-400 w-full'),
|
||||
new Container(style: 'flex-1 bg-white w-full', views: new Views([
|
||||
new Container(style: 'flex-none w-100 bg-red-100 m-20'),
|
||||
new Container(style: 'flex-1 bg-red-200 flex flex-col', views: new Views([
|
||||
new Container(id: 'slate', style: 'h-100 flex-none bg-slate-400 w-full'),
|
||||
new Container(id: 'red', style: 'flex-1 bg-red-200 w-full m-5 flex flex-row', views: new Views([
|
||||
new Container(style: 'flex-none w-100 bg-white m-20'),
|
||||
new Container(style: 'flex-1 bg-blue-200 p-10 flex flex-col', views: new Views([
|
||||
new Text(id: 'first', text: 'First', style: 'm-2 p-5 bg-green-200'),
|
||||
new Text(id: 'second', text: 'Second', style: 'm-10 p-10 border border-black bg-slate-200'),
|
||||
new Container(id: 'vertical', style: 'flex flex-col overflow-auto border border-black', views: new Views([
|
||||
@ -46,11 +46,11 @@ class TestLayoutView extends BaseView implements View
|
||||
new Text(id:'eight', text: 'eight', style: 'm-10 p-10 border border-black bg-slate-200'),
|
||||
]))
|
||||
])),
|
||||
new Container(style: 'flex-1 bg-red-300 flex flex-row'),
|
||||
new Container(style: 'flex-1 bg-green-300 flex flex-row'),
|
||||
new Container(style: 'flex-none w-100 bg-red-400'),
|
||||
])),
|
||||
new Container(style: 'flex-1 bg-sky-600 w-full m-5'),
|
||||
new Container(style: 'h-50 flex-none bg-lime-400 w-full'),
|
||||
new Container(id: 'sky', style: 'flex-1 bg-sky-600 w-full m-5'),
|
||||
new Container(id: 'lime', style: 'h-50 flex-none bg-lime-400 w-full'),
|
||||
]);
|
||||
/*
|
||||
$this->views = new Views([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user