Hello,
as I mentioned earlier I found small graphic bug with ComboBox. I think image and codes will show everything what we need.
This is how It looks:
https://ctrlv.cz/shots/2018/03/16/BDf9.png
This is the case with ComboBox and Border.
<Window x:Class="TESTETE.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}" Width="843.816">
<Grid Background="#FF8B8888">
<Border BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" Height="100" Margin="348,42,0,0" VerticalAlignment="Top" Width="184" Background="#FF937979"/>
<ComboBox x:Name="ComboBoxSort" Margin="0,77,332,0" HorizontalAlignment="Right" Width="114" VerticalAlignment="Top" Background="Transparent">
<ComboBoxItem IsSelected="True" Content="ID"/>
<ComboBoxItem Content="Jména"/>
<ComboBoxItem Content="Zabití"/>
<ComboBoxItem Content="Bodů"/>
<ComboBoxItem Content="Umístění"/>
</ComboBox>
</Grid>
But bug can be reproduced also by changing grid backgroud color:
<Window x:Class="TESTETE.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}" Width="843.816">
<Grid>
<Grid.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="Black" Offset="0"/>
<GradientStop Color="White" Offset="1"/>
</LinearGradientBrush>
</Grid.Background>
<ComboBox x:Name="ComboBoxSort" Margin="0,77,332,0" HorizontalAlignment="Right" Width="114" VerticalAlignment="Top" Background="Transparent">
<ComboBoxItem IsSelected="True" Content="ID"/>
<ComboBoxItem Content="Jména"/>
<ComboBoxItem Content="Zabití"/>
<ComboBoxItem Content="Bodů"/>
<ComboBoxItem Content="Umístění"/>
</ComboBox>
</Grid>
</Window>
Thank you :)
(Project was clear -> created only for this purpose)
Hello,
as I mentioned earlier I found small graphic bug with ComboBox. I think image and codes will show everything what we need.
This is how It looks:
https://ctrlv.cz/shots/2018/03/16/BDf9.png
This is the case with ComboBox and Border.
But bug can be reproduced also by changing grid backgroud color:
Thank you :)
(Project was clear -> created only for this purpose)