Search

Strange UniformGrid by JP One

Closed
as Won't Fix Help for as Won't Fix

1
0
Sign in
to vote
Type: Bug
ID: 754027
Opened: 7/17/2012 2:31:15 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
I use an UniformGrid for some texts (most the same). If i use copy & paste for more TextBlocks there is a point where some are getting Margins.

Is this a correct behavior?
Details (expand)

Product?

Blend

Product Version?

 

Blend 4 SP1 (4.0.20901.0)

Issue Type?

Bug

Repro Steps? (N/A for Suggestion)

        <UniformGrid Width="200" Height="200">
            <TextBlock Text="TextBlock" HorizontalAlignment="Left" VerticalAlignment="Top"/>
        </UniformGrid>

Then copy & paste the TextBlock



        <UniformGrid Width="200" Height="200">
            <TextBlock Text="TextBlock" HorizontalAlignment="Left" VerticalAlignment="Top"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,49.54,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,49.54,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,49.54,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,16.207,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,16.207,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,16.207,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,16.207,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,16.207,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,-0.46,0" d:LayoutOverrides="Width"/>
            <TextBlock Text="TextBlock" VerticalAlignment="Top" Margin="0,0,-0.46,0" d:LayoutOverrides="Width"/>
        </UniformGrid>
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 8/28/2012 at 5:05 PM
Thanks for your feedback!

Unfortunately, we cannot address this at the moment in Blend. We will definitely keep this feedback as we make future improvments to the copy+paste functionality in Blend.

Thanks!
Posted by JP One on 7/31/2012 at 6:51 AM
And Blend 4 SP1
Posted by JP One on 7/31/2012 at 6:47 AM
It's WPF
Posted by Lukeus Adams on 7/18/2012 at 7:20 PM
JP what applicaiton are you using to copy your text from into the grid?
Sign in to post a workaround.