From: Shawn O. Pearce Date: Sat, 2 Jun 2007 18:35:44 +0000 (-0400) Subject: git-gui: Make the line number column slightly wider in blame X-Git-Tag: gitgui-0.7.3~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=375e1365a62df3cd944ec0e91051b94d710a7c6d;p=git.git 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 --- diff --git a/lib/blame.tcl b/lib/blame.tcl index 1c3f5e985..556170268 100644 --- a/lib/blame.tcl +++ b/lib/blame.tcl @@ -122,7 +122,7 @@ constructor new {i_commit i_path} { -state disabled \ -wrap none \ -height 40 \ - -width 5 \ + -width 6 \ -font font_diff $w_line tag conf linenumber -justify right -rmargin 5