xamarin/Xamarin.Forms

[UWP] StackLayout content inside TableSection gets clipped

开放

#3,664 创建于 2018年8月26日

 (3 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/4 :clock4:help wantedinactivep/UWPt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南