xamarin/Xamarin.Forms
AbsoluteLayout does not take the size of its children as RelativeLayout takes
开放
#5,767 创建于 2019年3月30日
a/layoute/7 :clock7:help wantedinactivet/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
I want to use Image to display data on top of it. I put image inside the AbsoluteLayout. But the AbsoluteLayout does take extra pixels around the image. Whereas using RelativeLayout does not have this issue. The issue magnify in low resolution devices.
Steps to Reproduce
swap RelativeLayout and AbsoluteLayout in the uploaded sample
Basic Information
- Version with issue:Xamarin.Forms-pre7
- IDE:VSMac preview
- Affected Devices:Android and iOS