diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-12-06 22:54:16 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-12-07 10:12:10 -0800 |
commit | 3d80d9283daa82847eb0fe1ae2f9879e9a80c9e5 (patch) | |
tree | 7e3c44263f70184ddb0dcbfac2b5c16865ab2cdb /dive.c | |
parent | c796c16115dc3d7d52976395dfcfedc7e8bd1bec (diff) | |
download | subsurface-3d80d9283daa82847eb0fe1ae2f9879e9a80c9e5.tar.gz |
Sort the divecomputers alphabetically and have fixed width dropdown
Instead of just taking the vendors and products for the supported
divecomputers in the order libdivecomputer provides them to us we sort
them as we add them to our list of lists. While doing this we also track
the longest product name and try to make sure that the combobox for the
product is set to a fixed width that's wider then the longest product
name.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions