Changeset 1375 for trunk/gui/scripts/scroller.tcl
- Timestamp:
- Apr 2, 2009, 6:05:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/scroller.tcl
r1342 r1375 113 113 itcl::body Rappture::Scroller::contents {{widget "!@#query"}} { 114 114 if {$widget == "!@#query"} { 115 if {$_contents == $_frame} { 116 return $_frame.f 117 } 115 118 return $_contents 116 119 } … … 268 271 } 269 272 outer { 270 $_frame itemconfigure frame -width [winfo width $_frame] 273 if {[winfo width $_frame] > [winfo reqwidth $_frame.f]} { 274 $_frame itemconfigure frame -width [winfo width $_frame] 275 } else { 276 $_frame itemconfigure frame -width 0 277 } 271 278 if {[winfo height $_frame] > [winfo reqheight $_frame.f]} { 272 279 $_frame itemconfigure frame -height [winfo height $_frame]
Note: See TracChangeset
for help on using the changeset viewer.