Skip to content

Fixes #185 #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions content/docs/en/getting-started/2-playground-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:

<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
<v-template>
<Label :text="todo.name" class="list-group-item-heading" />
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
</StackLayout>
Expand Down Expand Up @@ -333,7 +333,7 @@ Out-of-the-box, the `<ListView>` component detects a tap gesture for every item
```HTML
<ListView class="list-group" for="done in dones" @itemTap="onDoneTap" style="height:75%">
<v-template>
<Label :text="done.name" class="list-group-item-heading" />
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
```
Expand Down Expand Up @@ -382,15 +382,15 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:

<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
<v-template>
<Label :text="todo.name" class="list-group-item-heading" />
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
</StackLayout>
</TabViewItem>
<TabViewItem title="Completed">
<ListView class="list-group" for="done in dones" @itemTap="onItemTap" style="height:75%">
<v-template>
<Label :text="done.name" class="list-group-item-heading" />
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
</TabViewItem>
Expand Down Expand Up @@ -513,15 +513,15 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:

<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
<v-template>
<Label :text="todo.name" class="list-group-item-heading" />
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
</StackLayout>
</TabViewItem>
<TabViewItem title="Completed">
<ListView class="list-group" for="done in dones" @itemTap="onDoneTap" style="height:75%">
<v-template>
<Label :text="done.name" class="list-group-item-heading" />
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
</v-template>
</ListView>
</TabViewItem>
Expand Down Expand Up @@ -709,7 +709,7 @@ To implement a style particularly for the text of active tasks, you can set an `
1. Set an `id` for the `<Label>` that represents active tasks and enable text wrapping. Enabling text wrapping ensures that longer text shows properly in your list

```HTML
<Label id="active-task" :text="todo.name" class="list-group-item-heading" />
<Label id="active-task" :text="todo.name" class="list-group-item-heading" textWrap="true" />
```
1. Add the `separatorColor` property and set it to `transparent` for the `<ListView>` that shows active tasks. This way, the separator will no longer appear in your list.

Expand Down Expand Up @@ -746,7 +746,7 @@ This section applies the basic NativeScript knowledge from [Advanced design: Sty
1. Set an `id` for the `<Label>` that represents completed tasks and enable text wrapping. Enabling text wrapping ensures that longer text shows properly in your list

```HTML
<Label id="completed-task" :text="done.name" class="list-group-item-heading" />
<Label id="completed-task" :text="done.name" class="list-group-item-heading" textWrap="true" />
```
1. Add the `separatorColor` property, and set it to `transparent` for the `<ListView>` that represents completed tasks. This way, the separator will no longer appear in your list.

Expand Down