Changeset 786 for trunk/gui/scripts/controls.tcl
- Timestamp:
- Jul 19, 2007, 7:39:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/controls.tcl
r782 r786 515 515 grid rowconfigure $_frame 0 -weight 0 516 516 517 set expand 0 ;# most controls float to top 517 518 set row 0 518 519 foreach name $showing { 519 set expand 0 ;# most controls float to top520 521 520 set wl $_name2info($name-label) 522 521 if {$wl != "" && [winfo exists $wl]} { … … 555 554 # 556 555 set queue [winfo children $wv] 556 set expandgroup 0 557 557 while {[llength $queue] > 0} { 558 558 set w [lindex $queue 0] … … 560 560 set c [winfo class $w] 561 561 if {[lsearch {DeviceEditor Note} $c] >= 0} { 562 set expand 1562 set expandgroup 1 563 563 break 564 564 } 565 565 eval lappend queue [winfo children $w] 566 566 } 567 if {$expand} { 567 if {$expandgroup} { 568 set expand 1 568 569 grid $wv -sticky nsew 569 570 grid rowconfigure $_frame $row -weight 1
Note: See TracChangeset
for help on using the changeset viewer.