We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running on a 125% scaling monitor, the children of UniformGrid can overlap. Setting UseLayoutRounding="False" fixes it.
UniformGrid
UseLayoutRounding="False"
<Border Width="100" Height="100"> <UniformGrid Columns="2"> <Border Background="White" BorderBrush="Red" BorderThickness="0,0,1,1"/> <Border Background="White" BorderBrush="Green" BorderThickness="0,0,1,1"/> </UniformGrid> </Border>
The children should be laid out to be next to each other, not overlapping.
all
No response
This is because UniformGrid is a direct port from WPF and WPF's layout rounding is subtly different to that of Avalonia.
The text was updated successfully, but these errors were encountered:
Add failing tests for #17699.
6b90c5c
grokys
Successfully merging a pull request may close this issue.
Describe the bug
When running on a 125% scaling monitor, the children of
UniformGrid
can overlap. SettingUseLayoutRounding="False"
fixes it.To Reproduce
Expected behavior
The children should be laid out to be next to each other, not overlapping.
Avalonia version
all
OS
No response
Additional context
This is because
UniformGrid
is a direct port from WPF and WPF's layout rounding is subtly different to that of Avalonia.The text was updated successfully, but these errors were encountered: