https://github.com/foggyfinder/xfmcve1
https://github.com/foggyfinder/xfmcve1
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/foggyfinder/xfmcve1
- Owner: FoggyFinder
- Created: 2022-02-11T15:36:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-16T15:22:58.000Z (over 3 years ago)
- Last Synced: 2025-02-09T12:44:00.035Z (4 months ago)
- Language: C#
- Size: 524 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
### [ Android ] Changes to HeightRequest are ignored inside OnSizeAllocated ####
```fs
override t.OnSizeAllocated(w, h) =
base.OnSizeAllocated(w, h)
let hr = w / float aspect
System.Diagnostics.Debug.WriteLine($"W = {w}, H = {h}; hr = {hr}")
t.HeightRequest <- hr
t.InvalidateMeasure()
```#### Steps to replicate
1. Run app.
2. Tap on svg.
3. It changes to opposite and looks squeezed.
4. For all next taps rendering will be correct.