fix: character width calculation (#20201)

This commit is contained in:
Alex 2025-07-25 09:56:25 -05:00 committed by GitHub
parent edefed56ae
commit ed5759fe07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ class EntitiyCountTile extends StatelessWidget {
int calculateMaxDigits(double availableWidth) {
const double charWidth = 11.0;
return (availableWidth / charWidth).floor().clamp(1, 20);
return (availableWidth / charWidth).floor().clamp(1, 8);
}
@override