gitk: Tag display improvements
commit4399fe337218ebad0c47e9f4edcd83defbb4733d
authorPaul Mackerras <paulus@samba.org>
Wed, 2 Jan 2013 23:10:31 +0000 (3 10:10 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 31 Oct 2013 09:03:28 +0000 (31 20:03 +1100)
tree6eb3c342c168828949771804476aaa9f3424e453
parent9aa66a040f8d84282ad8435585a2b5c912e3552f
gitk: Tag display improvements

When a commit has many tags, the tag icons in the graph display can
easily become so wide as to push the commit message off the right-hand
edge of the graph display pane.  This changes the display so that if
there are more than 3 tags or they would take up more than a quarter
of the width of the pane, we instead display a single tag icon with
a legend inside it like "4 tags...".  If the user clicks on the tag
icon, gitk then displays all the tags in the diff display pane.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk