semi-fix weird resizing of variable boxes

rabi_display
wcko87 8 years ago
parent 6b424c89af
commit d0e9323278
  1. 8
      rabi_splitter_WPF/VariableExportTab.xaml

@ -25,8 +25,8 @@
<TextBlock FontFamily="Consolas" Margin="2,0,0,0" Text="{Binding Path=Handle}"/> <TextBlock FontFamily="Consolas" Margin="2,0,0,0" Text="{Binding Path=Handle}"/>
<Grid Margin="15,0,0,0"> <Grid Margin="15,0,0,0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" /> <ColumnDefinition Width="70" />
<ColumnDefinition Width="3*" /> <ColumnDefinition Width="*" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="1*" /> <RowDefinition Height="1*" />
@ -34,8 +34,8 @@
</Grid.RowDefinitions> </Grid.RowDefinitions>
<TextBlock Grid.Column="0" Grid.Row="0" Text="Description:"/> <TextBlock Grid.Column="0" Grid.Row="0" Text="Description:"/>
<TextBlock Grid.Column="0" Grid.Row="1" Text="Value:"/> <TextBlock Grid.Column="0" Grid.Row="1" Text="Value:"/>
<TextBlock Margin="2,0,0,0" Grid.Column="1" Grid.Row="0" Text="{Binding Path=DisplayName}"/> <TextBlock Margin="2,0,0,0" Grid.Column="1" Grid.Row="0" Text="{Binding Path=DisplayName}" TextWrapping="Wrap"/>
<TextBlock Margin="2,0,0,0" Grid.Column="1" Grid.Row="1" Text="{Binding Path=Value}"/> <TextBlock Margin="2,0,0,0" Grid.Column="1" Grid.Row="1" Text="{Binding Path=Value}" TextWrapping="Wrap"/>
</Grid> </Grid>
</StackPanel> </StackPanel>
</DataTemplate> </DataTemplate>

Loading…
Cancel
Save