FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Letter Spacing in Text/RichText doesn't allow negative values #4855

Open ercanyuz opened 1 week ago

ercanyuz commented 1 week ago

Can we access your project?

Current Behavior

In Flutter, Letter Spacing in Text/RichText are allowed to be negative. It's actually commonly used to make the text dense. In FF GUI it's not allowed.

Expected Behavior

Letter Spacing should be allowed to be negative. Both in Widget properties, as well es in Design System Typography settings.

Steps to Reproduce

Just try to enter a negative value for Letter Spacing property on those widgets, as well es in Design System Typography settings.

Reproducible from Blank

Bug Report Code (Required)

ITFfzPHq24VIscsA14SJc+0w9TgROUccTIMziNZ+exUbfaL1BuwMfuD8UBdBcOmgaVNcf06Lu3EHwanrhvPXA/I6ZQedfohkws1uFg7ee2igbpSvDIe0RHFDL91RfH6j18CC2hYmIu1fciUEwDiAIeSUShHDFOu/Zwh9f6PHaOI=

Visual documentation

image

Environment

- FlutterFlow version: most up-to-date
- Platform: Web
- Browser name and version: Chrome, most up-to-date
- Operating system and version affected: MacOS Sequoia

Additional Information

I am aware that you can workaround this by using a Code Expression. But manually overriding the Typography settings for every Text widget is not sustainable.

Alezanello commented 1 week ago

Hello!!

Thank you for bringing this to our attention!

I'm not entirely sure why it isn't allowing you to set a negative value directly. I’ll reach out to the engineering team for clarification and will get back to you as soon as I have more information.

Thank you for your patience!