diff options
Diffstat (limited to 'android/app/src/main')
| -rw-r--r-- | android/app/src/main/java/org/terst/doot/widget/ui/WidgetTextSize.kt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/android/app/src/main/java/org/terst/doot/widget/ui/WidgetTextSize.kt b/android/app/src/main/java/org/terst/doot/widget/ui/WidgetTextSize.kt index e44b983..1e8ecab 100644 --- a/android/app/src/main/java/org/terst/doot/widget/ui/WidgetTextSize.kt +++ b/android/app/src/main/java/org/terst/doot/widget/ui/WidgetTextSize.kt @@ -5,9 +5,11 @@ import androidx.compose.ui.unit.sp import androidx.glance.text.FontWeight /** - * Header and content are independent knobs (currently seeded with the same - * numbers) so either can be retuned later without affecting the other. - * SMALL reproduces the widget's original, pre-setting appearance exactly. + * Header and content are independent knobs so either can be retuned without + * affecting the other. SMALL keeps content at the widget's original, + * pre-setting size -- but floors headers at NORMAL's scale/weight, since + * chrome text (hour labels, section titles) stays hard to read if it + * shrinks along with the content the user is deliberately shrinking. */ enum class WidgetTextSize( val headerScale: Float, @@ -15,7 +17,7 @@ enum class WidgetTextSize( val contentScale: Float, val contentWeightBump: Int ) { - SMALL(1.0f, 0, 1.0f, 0), + SMALL(1.15f, 1, 1.0f, 0), NORMAL(1.15f, 1, 1.15f, 1), LARGE(1.3f, 2, 1.3f, 2); |
