Skip to content

Commit a2e6739

Browse files
ikoevskarigor789
authored andcommitted
Fixed #185 (#211)
1 parent 00e6233 commit a2e6739

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/docs/en/getting-started/2-playground-tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:
259259

260260
<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
261261
<v-template>
262-
<Label :text="todo.name" class="list-group-item-heading" />
262+
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
263263
</v-template>
264264
</ListView>
265265
</StackLayout>
@@ -333,7 +333,7 @@ Out-of-the-box, the `<ListView>` component detects a tap gesture for every item
333333
```HTML
334334
<ListView class="list-group" for="done in dones" @itemTap="onDoneTap" style="height:75%">
335335
<v-template>
336-
<Label :text="done.name" class="list-group-item-heading" />
336+
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
337337
</v-template>
338338
</ListView>
339339
```
@@ -382,15 +382,15 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:
382382

383383
<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
384384
<v-template>
385-
<Label :text="todo.name" class="list-group-item-heading" />
385+
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
386386
</v-template>
387387
</ListView>
388388
</StackLayout>
389389
</TabViewItem>
390390
<TabViewItem title="Completed">
391391
<ListView class="list-group" for="done in dones" @itemTap="onItemTap" style="height:75%">
392392
<v-template>
393-
<Label :text="done.name" class="list-group-item-heading" />
393+
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
394394
</v-template>
395395
</ListView>
396396
</TabViewItem>
@@ -513,15 +513,15 @@ At the end of this stage, your `<HelloWorld.vue>` should resemble this sample:
513513

514514
<ListView class="list-group" for="todo in todos" @itemTap="onItemTap" style="height:75%">
515515
<v-template>
516-
<Label :text="todo.name" class="list-group-item-heading" />
516+
<Label :text="todo.name" class="list-group-item-heading" textWrap="true" />
517517
</v-template>
518518
</ListView>
519519
</StackLayout>
520520
</TabViewItem>
521521
<TabViewItem title="Completed">
522522
<ListView class="list-group" for="done in dones" @itemTap="onDoneTap" style="height:75%">
523523
<v-template>
524-
<Label :text="done.name" class="list-group-item-heading" />
524+
<Label :text="done.name" class="list-group-item-heading" textWrap="true" />
525525
</v-template>
526526
</ListView>
527527
</TabViewItem>
@@ -709,7 +709,7 @@ To implement a style particularly for the text of active tasks, you can set an `
709709
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
710710

711711
```HTML
712-
<Label id="active-task" :text="todo.name" class="list-group-item-heading" />
712+
<Label id="active-task" :text="todo.name" class="list-group-item-heading" textWrap="true" />
713713
```
714714
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.
715715

@@ -746,7 +746,7 @@ This section applies the basic NativeScript knowledge from [Advanced design: Sty
746746
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
747747

748748
```HTML
749-
<Label id="completed-task" :text="done.name" class="list-group-item-heading" />
749+
<Label id="completed-task" :text="done.name" class="list-group-item-heading" textWrap="true" />
750750
```
751751
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.
752752

0 commit comments

Comments
 (0)