# Textwrapping logic issue

**URL:** <https://forums.fusetools.com/t/textwrapping-logic-issue/5767>\
**Category:** Bug Reports\
**Created:** [November 11, 2016, 6:58pm UTC](https://forums.fusetools.com/t/textwrapping-logic-issue/5767 "2016-11-11T18:58:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dicoycv](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/dicoycv/32/223_2.png) [@dicoycv](https://forums.fusetools.com/u/dicoycv)\
**Post date:** [November 11, 2016, 6:58pm UTC](https://forums.fusetools.com/t/textwrapping-logic-issue/5767/1 "2016-11-11T18:58:18Z")

</div>

Fuse 0.27.1 (Windows)

I have a video playlist here wich consists of a list of stackpanels with an image to the left and 2 text items wich have textWrapping enabled:

```auto
<Page ux:Class="CollectionDetailsPage" Background="#111114">
	<Router ux:Dependency="router" />
	<StackPanel>
		<Each Items="{CollectionDetails.items}">
			<StackPanel Orientation="Horizontal" Background="#1F1F25" Margin="10">
					<Rectangle Height="140" Margin="0,0,10,0" Width="103" Clicked="{OpenVideoDetails}" Background="Black">
						<Each Items="{posters.portrait}" Count="1">
							<Image Height="140" Width="103" StretchMode="UniformToFill">
								<HttpImageSource Url="{xsmall}"/>
							</Image>
						</Each>
					</Rectangle>
					<StackPanel>
						<Text Value="{title}" Font="Roboto" TextWrapping="Wrap" Color="#FFFFFF" FontSize="14" />	
						<Text Value="{description}" TextWrapping="Wrap" Margin="10,0,10,0" />
					</StackPanel>
			</StackPanel>
		</Each>
	</StackPanel>
	<JavaScript File="CollectionDetails.js" />
</Page>

```

The thing is that the textwrapping continues the sting on a new line when the string exceeds the length of the screen. In this case it leaves some text out of the screen (about the width of the thumbnail image it has on the left side: 103px)

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [November 15, 2016, 12:56pm UTC](https://forums.fusetools.com/t/textwrapping-logic-issue/5767/2 "2016-11-15T12:56:34Z")

</div>

Does this only apply to windows? There are some issues on windows where text might not be clipped correctly. A new textrenderer for desktop is in the works 🙂

Should work on android/osx/ios.
