Hi,
the offer text has unwanted linebreaks and the mouse pointer partly hides the offer text. I've attached a patch that addresses these problems. Another thing: the axes, Time and ELO, are not so usefull without a division and labels what the divisions stand for. When you find it a good idea I would write some lines of code * adding horizontal lines in steps of 100 (ELO) * adding tics and ELO Labels 500, 1000, 1500, 2000, 2500, 3000 at the right side of the graph * adding vertical lines in steps of 1, 2, 5, 10, 15, 30, 60 with corresponding labels 1m, 2m, etc. This is about the same what eboard does. Jens
From 8f912e596aab887c39fac1efcf00afb5b0387d5c Mon Sep 17 00:00:00 2001 From: Jens Hoffmann <xmc...@gmail.com> Date: Tue, 17 Nov 2015 18:38:21 +0100 Subject: [PATCH] Fics offer text: improve readability * move offer label a little to the right, so that the mouse pointer does not hide some text * do not use a fixed width for the label text; a fixed width causes unwanted linebreaks within i.e. elo-numbers --- tcl/tools/fics.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcl/tools/fics.tcl b/tcl/tools/fics.tcl index 6894b6a..e737a84 100644 --- a/tcl/tools/fics.tcl +++ b/tcl/tools/fics.tcl @@ -1197,7 +1197,7 @@ namespace eval fics { # ################################################################################ proc setOfferStatus { idx x y } { - global ::fics::height ::fics::width + global ::fics::height ::fics::width ::fics::off set w .fics.f.top.foffers if { $idx != -1 } { @@ -1218,7 +1218,7 @@ namespace eval fics { append anchor "e" } - $w.c create text $x $y -tags status -text $m -font font_offers -anchor $anchor -width 150 + $w.c create text [expr $x + $off] $y -tags status -text $m -font font_offers -anchor $anchor $w.c raise game_$idx } else { $w.c delete status -- 2.1.4
------------------------------------------------------------------------------
_______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users