Open taublast opened 6 days ago
@nathenxbrewer can you please share your xaml regarding the Grid
? I see you have Grid.Row="1"
so..
Or maybe you slider is different from the Sandbox one?
i tried to repro with the following, but no luck, canvas shows okay:
<!--tried without definitions, same..-->
<Grid RowDefinitions="80,*">
<draw:Canvas
x:Name="Canvas"
Grid.Row="1"
Gestures="Enabled"
HeightRequest="60">
<!-- one from the Sandbox project -->
<controls:SliderColor HeightRequest="50" />
</draw:Canvas>
</Grid>
i have a feeling this might fix it, to be verified when repro is available: #c6687bdffb21b2949d2fc8b633aee311ba9d3222
Discussed in https://github.com/taublast/DrawnUi.Maui/discussions/98
Originally posted by @nathenxbrewer October 24, 2024
So here we have a situation that both Canvas and container layout inside have auto-size. The issue is that after measurement the measured layout size is not taken into consideration by the Canvas to adapt to measured content size.
To be fixed.