Reasonable size limits for tag text boxes in sheets

This commit is contained in:
stopflock
2025-11-18 16:21:31 -06:00
parent 6c53d988de
commit 0143c74415

View File

@@ -80,8 +80,8 @@ const Duration kFollowMeAnimationDuration = Duration(milliseconds: 600);
const double kMinSpeedForRotationMps = 1.0; // Minimum speed (m/s) to apply rotation
// Sheet content configuration
const double kMaxTagListHeightRatioPortrait = 0.4; // Maximum height for tag lists in portrait mode
const double kMaxTagListHeightRatioLandscape = 0.3; // Maximum height for tag lists in landscape mode
const double kMaxTagListHeightRatioPortrait = 0.3; // Maximum height for tag lists in portrait mode
const double kMaxTagListHeightRatioLandscape = 0.2; // Maximum height for tag lists in landscape mode
/// Get appropriate tag list height ratio based on screen orientation
double getTagListHeightRatio(BuildContext context) {