|  | 
| Markup draw out of rect | 
| Post Reply   | 
| Author | |
| jimmy   Senior Member   Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |  Post Options  Thanks(0)  Quote  Reply  Topic: Markup draw out of rect Posted: 17 June 2008 at 6:35am | 
| 
   Hello, I have test this with 12.0.0 MarkupPad. And text will draw out of rect <Page xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation' xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' > <Grid Background="LightBlue" Width="150" Height="30"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="40"/> </Grid.ColumnDefinitions> <TextBlock Grid.Column = "0" VerticalAlignment="Center" HorizontalAlignment="Left">1 Zeile<LineBreak/>2</TextBlock> <TextBlock Grid.Column = "1" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="24" >&</TextBlock> </Grid> </Page> Jimmy | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 17 June 2008 at 1:08pm | 
| 
   Hi,
 Cleartype thing :-( 2 solutions:  <Grid Background="LightBlue" Width="150" Height="30" ClipToBounds="True"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="40"/> </Grid.ColumnDefinitions>         <TextBlock Grid.Column = "0" VerticalAlignment="Center" HorizontalAlignment="Left">1 Zeile<LineBreak/>2</TextBlock> <TextBlock Background="Red" Grid.Column = "1" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="24" >&</TextBlock> </Grid> or     <Grid Background="LightBlue" Width="150" Height="30"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="40"/> </Grid.ColumnDefinitions>         <TextBlock Grid.Column = "0" VerticalAlignment="Center" HorizontalAlignment="Left">1 Zeile<LineBreak/>2</TextBlock> <TextBlock Padding="1" Background="Red" Grid.Column = "1" VerticalAlignment="Center" HorizontalAlignment="Right" FontSize="24" >&</TextBlock> </Grid> | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |