xamarin/Xamarin.Forms

AbsoluteLayout does not take the size of its children as RelativeLayout takes

オープン

#5,767 opened on 2019/03/30

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/layoute/7 :clock7:help wantedinactivet/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged 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

Reproduction Link

MyApp.zip

コントリビューターガイド