diff options
author | Frank Sorenson <frank@tuxrocks.com> | 2005-10-30 02:06:46 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-18 23:55:50 -0800 |
commit | e246483dc5b56d7deb04a93b0aa08aba4cde0625 (patch) | |
tree | 41b801bfd4a9a8680025c85b0c0b265b4e1c6788 /gitk | |
parent | 36a7cad6e4ae8a331731666d985a7619a76bb4fb (diff) | |
download | git-e246483dc5b56d7deb04a93b0aa08aba4cde0625.tar.gz git-e246483dc5b56d7deb04a93b0aa08aba4cde0625.tar.xz |
gitk: Specify line hover font
Hovering over a line in gitk displays the commit one-liner in a
box, but the text usually overflows the box. The box size is
computed with a specified font, so this patch sets the text font
as well.
Signed-off-by: Frank Sorenson <frank@tuxrocks.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3125,7 +3125,7 @@ proc linehover {} { set t [$canv create rectangle $x0 $y0 $x1 $y1 \ -fill \#ffff80 -outline black -width 1 -tags hover] $canv raise $t - set t [$canv create text $x $y -anchor nw -text $text -tags hover] + set t [$canv create text $x $y -anchor nw -text $text -tags hover -font $mainfont] $canv raise $t } |