diff options
author | Robin Jarry <robin@jarry.cc> | 2023-08-20 21:08:52 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-08-26 21:41:05 +0200 |
commit | 412493ad10daddfd9cb82188e34dc4b73028422c (patch) | |
tree | 5f6ba94bc7c704c319ff8281339bfeb462a1a906 /widgets/tabhost.go | |
parent | 8ac84d0c2bd035db2c9404aee6d06cbd91fd79a0 (diff) | |
download | aerc-412493ad10daddfd9cb82188e34dc4b73028422c.tar.gz |
wizard: factorize ui layout
Avoid code duplication. Use a struct to store all fields along with
their respective labels. Generate a ui.Grid at once with the correct
padding between the fields.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'widgets/tabhost.go')
0 files changed, 0 insertions, 0 deletions