diff options
author | Robin Jarry <robin@jarry.cc> | 2023-01-31 14:08:59 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-20 14:48:42 +0100 |
commit | 191876182a91659bbeab0c7b5c4ef61ebe636f76 (patch) | |
tree | 1536b9d7112b7a1bde59ebbdbaa8ce342e184dad /lib/ui/text.go | |
parent | 5efa357e107b1a7fe4bfcf186c94fbd274b96acd (diff) | |
download | aerc-191876182a91659bbeab0c7b5c4ef61ebe636f76.tar.gz |
ui/table: allow zero width columns
When a column uses WIDTH_FIT and its contents are empty, the column is
not rendered at all, neither is its separator. This can cause display
artifacts (interruption of background color, etc.).
Make sure to differentiate between zero-width columns and columns that
overflow screen width.
Fixes: 012be0192c88 ("ui: add reusable table widget")
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/ui/text.go')
0 files changed, 0 insertions, 0 deletions