From e246483dc5b56d7deb04a93b0aa08aba4cde0625 Mon Sep 17 00:00:00 2001 From: Frank Sorenson Date: Sun, 30 Oct 2005 02:06:46 -0700 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitk b/gitk index 3ea94349..5deab53c 100755 --- a/gitk +++ b/gitk @@ -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 } -- 2.11.0