auto_size_text icon indicating copy to clipboard operation
auto_size_text copied to clipboard

Bottom overflows when height is restricted using SizedBox()

Open ashishbeck opened this issue 5 years ago • 1 comments

It doesn't matter what widget I wrap it with to constrain the height, it will always overflow in the bottom by a few pixels while the horizontal resizing works fine. Screenshot_20200814-161927 In my case, I need both these widgets to be of same size by restricted its dimensions. I can increase the max height to a bigger number but it ruins the aesthetic and won't be consistent across devices.

ashishbeck avatar Aug 14 '20 10:08 ashishbeck

I was running into the same issue and "fixed it" by setting textScaleFactor = 1. You might need a value lower than 1 and I would consider this a workaround, but it's something.

amot-dev avatar Jul 05 '24 19:07 amot-dev