patch-gui_tcl 554 B

123456789101112
  1. $OpenBSD: patch-gui_tcl,v 1.1 2011/01/05 17:34:17 stu Exp $
  2. --- gui.tcl.orig Fri Dec 10 20:44:34 2010
  3. +++ gui.tcl Fri Dec 10 20:46:05 2010
  4. @@ -746,6 +746,7 @@ proc manManTabSet {w} {
  5. set repstr "ETRNIOASM aaabcdeeeefghiijklmnnooprrsttuy"; set replen [string length $repstr]
  6. set rm [expr {[winfo width $t]-2*[$t cget -padx]-10}]
  7. + if {$rm <= 150} { set rm 151 }
  8. $t tag configure info -tabs [list 0.3i $rm right]
  9. $t tag configure census -tabs [list [expr {$rm-150}] right $rm right]
  10. $t tag configure high -tabs [list $rm right]