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 {
|
||||
|
||||
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() {
|
||||
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 |
@@ -8,7 +8,6 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user