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>
This commit is contained in:
Frank Sorenson 2005-10-30 02:06:46 -07:00 коммит произвёл Junio C Hamano
Родитель 36a7cad6e4
Коммит e246483dc5
1 изменённых файлов: 1 добавлений и 1 удалений

2
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
}