Changeset 1907 for branches/blt4/gui/scripts
- Timestamp:
- Sep 10, 2010 8:10:36 AM (14 years ago)
- Location:
- branches/blt4/gui/scripts
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/gui/scripts/panes.tcl
r1373 r1907 325 325 lappend flist $f 326 326 if {[info exists itk_component($sash)]} { 327 set h [expr {$h - [winfo height $itk_component($sash)]}]327 set h [expr {$h - [winfo reqheight $itk_component($sash)]}] 328 328 } 329 329 } else { … … 373 373 lappend flist $f 374 374 if {[info exists itk_component($sash)]} { 375 set w [expr {$w - [winfo width $itk_component($sash)]}]375 set w [expr {$w - [winfo reqwidth $itk_component($sash)]}] 376 376 } 377 377 } else { -
branches/blt4/gui/scripts/progress.tcl
r1342 r1907 56 56 57 57 itk_component add message { 58 label $itk_interior.mesg -anchor w 58 label $itk_interior.mesg -anchor w -width 1 59 59 } 60 60 … … 120 120 if {[string length $_message] > 0} { 121 121 $itk_component(message) configure -text $_message 122 pack $itk_component(message) - anchor w122 pack $itk_component(message) -fill x 123 123 } else { 124 124 pack forget $itk_component(message) … … 162 162 itcl::configbody Rappture::Progress::length { 163 163 set w [winfo pixels $itk_component(hull) $itk_option(-length)] 164 component hullconfigure -width $w164 $itk_component(bar) configure -width $w 165 165 }
Note: See TracChangeset
for help on using the changeset viewer.