Open alex-relov opened 5 years ago
Does it work with previous versions? How to reproduce?
Does it work with previous versions? How to reproduce? Clone repository and run on android device https://github.com/alex-relov/Segmented
Please see if this has been solved with v4.2.0 where I've updated to Xamarin Forms 4.2 and some of the Android dependencies.
Yes. It's still actual as of 4.2.0. on Android 6.0, 8.0 (and 10). I am having it on Android only. There seems some issue with calculating the tab space width (or something with right margin, as it's squeezed as much as narrow width of the control is.
Another interesting thing: if I do Hot Reload (just updating the content of the page, not necessarily the control), it renders well right after that.
Actually, found the cause of the issue. (At least, in my case). It happens when SegmentedControl is located directly in the Grid. When I wrap it with StackLayout, for instance, it gets rendered well.
Actually, found the cause of the issue. (At least, in my case). It happens when SegmentedControl is located directly in the Grid. When I wrap it with StackLayout, for instance, it gets rendered well.
Worked for me as well, cheers.
version 4.1.0, android emulator 9, compile target android 9