Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Entry and Picker Shrinked in TableView #2906

@DamienDoumer

Description

@DamienDoumer

Description

The Picker and Entry are cut off when I stack them with a label in a view cell. I used the Grid and StackLayout to stack them as I could but the edges of the Entry and the Picker still cutoff as shown on the screenshot. This happens exactly when I set the margins of the controls (Any margin be it top, bottom, left... result in the right edge of the picker or the entry to be cutoff).

Steps to Reproduce

  1. Create a table view and a table section in it
  2. Add a view cell to this section, and place a container which can contain the picker or the Entry with the label in it.
  3. Stack the controls (Label and (Picker or Entry) horizontally
  4. Set a margin property to the container
  5. Run on UWP

Expected Behavior

The label should stack horizontally perfectly with the picker or the Entry as it does normally.

Actual Behavior

the picker or textview are cut off at the edge on any screen size.

Basic Information

  • Version with issue: Xamarin.Forms 3.0.0.482510
  • Last known good version:
  • IDE: VisualStudio 2017
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP: 16299
  • Android Support Library Version:
  • Nuget Packages: Xamarin.Forms 3.0.0.482510
  • Affected Devices: UWP

Screenshots

xfissue

Reproduction Link

<TableSection>
<ViewCell>
<StackLayout Orientation="Horizontal"
Margin="5">
<Label Text="Result"/>
<Entry />
</StackLayout>
</ViewCell>
</TableSection>

Metadata

Metadata

Assignees

No one assigned

    Labels

    p/UWPs/needs-info ❓A question has been asked that requires an answer before work can continue on this issue.s/needs-repro ❔This reported issue doesn't include a sample project reproducing the issue. Please provide one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions