fluent_ui icon indicating copy to clipboard operation
fluent_ui copied to clipboard

Expander header's height determination

Open sohaibbg opened this issue 3 years ago • 4 comments

The height of Expander's header is now determined based on the height of its children.

Pre-launch Checklist

  • [x] I have updated CHANGELOG.md with my changes
  • [x] I have run "dart format ." on the project
  • [x] I have added/updated relevant documentation

sohaibbg avatar Sep 10 '22 11:09 sohaibbg

This was achieved by encasing the content widget in a Flexible widget so the Column can size the header as per its children's requirements.

sohaibbg avatar Sep 10 '22 11:09 sohaibbg

Expander padding is off

example 12_09_2022 19_27_38

bdlukaa avatar Sep 12 '22 22:09 bdlukaa

Expander padding is off

example 12_09_2022 19_27_38

In latest commit, padding has been added to Container widget responsible for header.

sohaibbg avatar Sep 13 '22 18:09 sohaibbg

The trailing is being constrained down, for some reason

image

bdlukaa avatar Sep 22 '22 21:09 bdlukaa