client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml
changeset 34 4d9ebc6fbbe8
parent 28 2d4ec5ab2a40
--- a/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml	Tue Jan 19 09:49:26 2010 +0100
+++ b/client/src/Iri.Modernisation.Controls/View/AnnotationMaker/AnnotationMaker.xaml	Tue Jan 19 09:49:56 2010 +0100
@@ -32,7 +32,7 @@
         <Grid x:Name="AnnotationMakerPanel">
 		<StackPanel x:Name="HeaderAnnotationMarkerPanel" Height="33" Orientation="Horizontal" Margin="0,0,8,0" VerticalAlignment="Top">
 			<TextBlock   Style="{StaticResource CommonTextBlock}" x:Name="HeaderAnnotationMakerLabel"  Text="{Binding AnnotationMakerTitle, Source={StaticResource LangLabels}}" TextWrapping="Wrap" Width="166" Height="19" VerticalAlignment="Top"/>
-			<ListBox Style="{StaticResource HorizontalListBox}" ItemsSource="{Binding ListAnnotationDescription}" SelectedItem="{Binding SelectedType,Mode=TwoWay}"  x:Name="TypeAnnotationList"  Margin="-27,0,0,2" Width="137" >
+			<ListBox Style="{StaticResource HorizontalListBox}" ItemsSource="{Binding ListAnnotationDescription}" SelectedItem="{Binding SelectedType,Mode=TwoWay}"  x:Name="TypeAnnotationList"  Margin="-27,0,0,2" Width="137" SelectedIndex="-1" >
 			<ListBox.ItemTemplate>
 				<DataTemplate>
 					<Rectangle Fill="{Binding Color,Converter={StaticResource ColorToBrush}}" Stroke="Black" Height="20" Width="22"></Rectangle>