Overview
Artifact ID: | 603e71e55edafb03dd5c9781328b895b8baf1595 |
---|---|
Ticket: | 0ff6d72ab9f6f97f57e117a56e3e62ad11e30a53
psballon generate Tcl error |
User & Date: | anonymous 2014-01-24 20:44:06 |
Changes
- foundin changed to: "2.6.4"
- icomment:
On Windows, when I hover over the Rev label I get an Tcl error that [font measure $font $msg] failed because of $font being empty. And it true you can get an empty font if the default font ist used. Here is my patch for this --- psballoon.tcl 2014-01-11 21:19:28.000000000 +0100 +++ psballoon-x.tcl 2014-01-24 21:36:51.933322189 +0100 @@ -74,6 +74,9 @@ if {[catch {set font [$w cget -font]}]} { set font [ttk::style lookup [winfo class $w] -font] } + if { $font eq "" } { + set font TkDefaultFont + } set ww [winfo width $w] set ih [winfo height $w] set ix 0
- login: "anonymous"
- mimetype: "text/x-fossil-plain"
- private_contact changed to: "9653680971c1b5932e49cabcc6034303c21ee9d8"
- severity changed to: "Important"
- status changed to: "Open"
- title changed to: "psballon generate Tcl error"
- type changed to: "Code_Defect"