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

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