On smaller displays the vertical ELO axis is too distorted
causing the highest number (3000) to be parltly hidden.

The fix draws one more horizontal guideline (up to ELO 3200)
in order to get more space between the top of the frame and
the label "3000".
---
 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 eb7d14c..3c8132a 100644
--- a/tcl/tools/fics.tcl
+++ b/tcl/tools/fics.tcl
@@ -1141,8 +1141,8 @@ namespace eval fics {
     foreach id [ $w.c find all] { $w.c delete $id }
 
     # Draw horizontal lines
-    set y_unit [expr $height / 31.0]
-    for {set i 0} {$i < 31} {incr i} {
+    set y_unit [expr $height / 32.0]
+    for {set i 0} {$i < 32} {incr i} {
       set y [expr $height - $i * $y_unit]
       $w.c create line 0 $y $width $y -fill "light gray"
     }
-- 
2.1.4


------------------------------------------------------------------------------
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to