diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -187,9 +187,9 @@ cell is left sparse; size it off the height alone and a short cell shrinks the text to a whisper. The robust way is a measured fit: `card.fit_unit()` returns the largest base size at which every row still fits the width, and the widget takes the smaller of that and its height budget. Larger cell, larger type; a row -that would collide pulls the size back down. The GPU and cache cards do this. A -card that cannot afford the measuring pass can still key off width with a clamp, -`math.max(lo, math.min(hi, inner.w * k))`; the clock, weather, system and disks +that would collide pulls the size back down. The GPU, cache and system cards do +this. A card that cannot afford the measuring pass can still key off width with +a clamp, `math.max(lo, math.min(hi, inner.w * k))`; the clock, weather and disks cards do. **Decide where the slack goes, and let one element absorb it.** The clock pins |
