I have a windows application using a custom ComboBox
. In my machine text appears properly. But in other machines it is cutting off a little bit. Any suggestions please?
<ComboBox Width="140" Height="5"
ItemsSource="{Binding SecurityContexts, Mode=OneWay}"
SelectedItem="{Binding ActiveSecurityContext, Mode=TwoWay}"
ToolTip="Working Location">
<ComboBox.ItemTemplate>
<DataTemplate>
<!--<TextBlock Text="{Binding Location}"/>-->
<TextBlock Height="27">
<TextBlock.Text>
<MultiBinding StringFormat="{}{0}
{1}">
<Binding Path="AddBlank" FallbackValue=''/> <!--Just to add a blank field to hide the location details-->
<Binding Path="Location" />
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>