mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Remove max-length example from list-view folder. Move images from list-view folder to resources/images
This commit is contained in:
@@ -8,7 +8,7 @@ export function navigatingTo(args: EventData) {
|
|||||||
|
|
||||||
export class ImagesTemplateViewModel extends Observable {
|
export class ImagesTemplateViewModel extends Observable {
|
||||||
|
|
||||||
public items: Array<string> = ["res://icon", null, "~/ui-tests-app/list-view/no-image.png", null, "~/ui-tests-app/list-view/no-image.png", null, "res://icon", null];
|
public items: Array<string> = ["res://icon", null, "~/ui-tests-app/resources/images/no-image.png", null, "~/ui-tests-app/resources/images/git no-image.png", null, "res://icon", null];
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
<Page loaded="pageLoaded">
|
|
||||||
<Page.actionBar>
|
|
||||||
<ActionBar title="maxLength" />
|
|
||||||
</Page.actionBar>
|
|
||||||
<StackLayout>
|
|
||||||
<TextField id="maxLenghtFromCodeBehindWithText" hint="max lenght and text from code behind" maxLength="3" />
|
|
||||||
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
|
|
||||||
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
|
|
||||||
<TextField id="useInput" hint="user input" maxLength="3" />
|
|
||||||
<TextField id="useInput" hint="user input" maxLength="3" secure="true" />
|
|
||||||
|
|
||||||
<Button tap="setText" text="Revert to initial state" />
|
|
||||||
</StackLayout>
|
|
||||||
</Page>
|
|
||||||
|
Before Width: | Height: | Size: 990 B After Width: | Height: | Size: 990 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@@ -7,8 +7,7 @@
|
|||||||
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
|
<TextField id="maxLenghtFromCodeBehind" hint="set only max length from code behind" />
|
||||||
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
|
<TextField id="inXml" text="in xml" hint="in xml" maxLength="3" />
|
||||||
<TextField id="useInput" hint="user input" maxLength="3" />
|
<TextField id="useInput" hint="user input" maxLength="3" />
|
||||||
<TextField id="useInput" hint="user input" maxLength="3" secure="true" />
|
<TextField id="useInput" hint="user input" maxLength="3" secure="true" />
|
||||||
|
|
||||||
<Button tap="setText" text="Revert to initial state" />
|
<Button tap="setText" text="Revert to initial state" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</Page>
|
</Page>
|
||||||
Reference in New Issue
Block a user