Rounded images ui test

This commit is contained in:
vakrilov
2015-08-19 11:28:03 +03:00
parent 2037148540
commit 7096d2cd68
5 changed files with 66 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -0,0 +1,51 @@
Page {
background-color: #1B3943;
}
.one {
width: 100;
height: 100;
border-radius: 0;
border-width: 0;
border-color: gray;
}
.two {
width: 100;
height: 100;
border-radius: 50;
border-width: 0;
border-color: gray;
}
.three {
width: 100;
height: 100;
border-radius: 0;
border-width: 20;
border-color: gray;
}
.four {
width: 100;
height: 100;
border-radius: 40;
border-width: 5;
border-color: gray;
}
.five {
width: 100;
height: 100;
border-radius: 20;
border-width: 30;
border-color: gray;
}
.six {
width: 100;
height: 50;
border-radius: 30;
border-width: 5;
border-color: gray;
}

View File

@ -0,0 +1,10 @@
<Page>
<GridLayout rows="*,*,*" columns="*,*">
<Image row="0" col="0" src="~/image-view/gravatar.png" cssClass="one"/>
<Image row="0" col="1" src="~/image-view/gravatar.png" cssClass="two"/>
<Image row="1" col="0" src="~/image-view/gravatar.png" cssClass="three"/>
<Image row="1" col="1" src="~/image-view/gravatar.png" cssClass="four"/>
<Image row="2" col="0" src="~/image-view/gravatar.png" cssClass="five"/>
<Image row="2" col="1" src="~/image-view/gravatar.png" cssClass="six"/>
</GridLayout>
</Page>

View File

@ -10,7 +10,7 @@ import trace = require("trace");
trace.enable();
trace.setCategories(trace.categories.Test);
var list: string[] = ["pages", "layouts", "modal-view", "bindings", "dialogs", "web-view"];
var list: string[] = ["pages", "layouts", "modal-view", "bindings", "dialogs", "web-view", "image-view"];
// basePath is auto-changed when building multiple apps
var basePath = "";