xamarin/Xamarin.Forms

[UWP] StackLayout content inside TableSection gets clipped

オープン

#3,664 opened on 2018/08/26

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

The content of a StackLayout inside a TableSection gets clipped by the amount of outer margin applied to the StackLayout.

Steps to Reproduce

Put this into a page (it needs to be in a TableView, not just the StackLayout itself):

<TableView Intent="Settings">
  <TableRoot>
    <TableSection Title="Memory">
      <ViewCell>
        <StackLayout Orientation="Horizontal" Margin="10,0,10,0">
          <Label Text="Faster" VerticalTextAlignment="Center" HorizontalOptions="Start" />
          <Slider Maximum="3" Minimum="1" HorizontalOptions="FillAndExpand" Margin="10,0" />
          <Label Text="Nicer" VerticalTextAlignment="Center" HorizontalOptions="End" />
        </StackLayout>
      </ViewCell>
    </TableSection>
  </TableRoot>
</TableView>

Expected Behavior

Right end of the slider visible.

Actual Behavior

Right end of the slider is clipped.

Basic Information

  • Version with issue: 3.1.0.697729
  • Last known good version: n/a
  • Platform Target Frameworks:
    • UWP: 17134

Screenshots

untitled-1

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