Skip to content

Grid Row does not shrink properly #1374

@VagyokC4

Description

@VagyokC4

Describe the bug

When using the grid, specifically with dynamic content, the row will grow to fit the content, but when the content shrinks the row maintains its largest size.

Steps to reproduce the bug

Create a Grid using Row/Col, with a few rows. In each row put some content, and inside the first row make the content grow and shrink. As it grows, the rows below properly move down, but as it shrinks, they do not move back up.

Expected behavior

I would expect 1) have an option for GrowOnly that uses this behavior, and 2) have an option for GrowAndShrink where the row will resize itself back down as the content inside grows and shrinks.

Screenshots

Initial:
image

Grow:
image

Shrink:
image

NuGet package version

HandyControls (Custom version) 3.4.0

IDE

Visual Studio 2022-preview

Framework type

No response

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions