author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 2 Jun 2007 18:35:44 +0000 (14:35 -0400) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 6 Jun 2007 05:26:49 +0000 (01:26 -0400) | ||
commit | 375e1365a62df3cd944ec0e91051b94d710a7c6d | |
tree | 4c8251cd508f2f0d618ed8df6a07bfe31985106d | tree | snapshot |
parent | 000a10696c0bc1e428bbd22af9e19b27795e72dd | commit | diff |
git-gui: Make the line number column slightly wider in blame
Most source code files are under 9,999 lines of text, so using a
field width of 5 characters meant that we should have had one char
padding on the left edge (because we right-justify the line number).
Unfortunately when I added the right margin earlier (when I removed
the padding) I ate into the extra character's space, losing the left
margin. This put the line numbers too close to the commit column in
any file with more than 999 lines in it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Most source code files are under 9,999 lines of text, so using a
field width of 5 characters meant that we should have had one char
padding on the left edge (because we right-justify the line number).
Unfortunately when I added the right margin earlier (when I removed
the padding) I ate into the extra character's space, losing the left
margin. This put the line numbers too close to the commit column in
any file with more than 999 lines in it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/blame.tcl | diff | blob | history |