You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to consume a SkiaSlider using the Canvas. For some reason, when the app loads, the Canvas is not rendered. If I change the xaml in any way, the app will Hot Reload and the canvas is then rendered.
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.
The text was updated successfully, but these errors were encountered:
@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..-->
<GridRowDefinitions="80,*">
<draw:Canvasx:Name="Canvas"
Grid.Row="1"Gestures="Enabled"HeightRequest="60">
<!-- one from the Sandbox project -->
<controls:SliderColorHeightRequest="50" />
</draw:Canvas>
</Grid>
Discussed in #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.
The text was updated successfully, but these errors were encountered: