Changeset 3647 for trunk/gui/scripts/booleanentry.tcl
- Timestamp:
- May 14, 2013, 2:33:30 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/booleanentry.tcl
r3635 r3647 145 145 # ---------------------------------------------------------------------- 146 146 itcl::body Rappture::BooleanEntry::label {} { 147 set label [ $_owner xml get $_path.about.label]147 set label [string trim [$_owner xml get $_path.about.label]] 148 148 if {"" == $label} { 149 149 set label "Boolean" … … 161 161 # ---------------------------------------------------------------------- 162 162 itcl::body Rappture::BooleanEntry::tooltip {} { 163 set str [ $_owner xml get $_path.about.description]163 set str [string trim [$_owner xml get $_path.about.description]] 164 164 append str "\n\nClick to turn on/off" 165 return [string trim $str]165 return $str 166 166 } 167 167
Note: See TracChangeset
for help on using the changeset viewer.