Ignore:
Timestamp:
Apr 2, 2009, 6:05:34 PM (16 years ago)
Author:
mmc
Message:

Created the SidebarFrame? widget to manage all sidebar options, and plugged
it into the various vis viewers and the xyresult.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/scroller.tcl

    r1342 r1375  
    113113itcl::body Rappture::Scroller::contents {{widget "!@#query"}} {
    114114    if {$widget == "!@#query"} {
     115        if {$_contents == $_frame} {
     116            return $_frame.f
     117        }
    115118        return $_contents
    116119    }
     
    268271        }
    269272        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            }
    271278            if {[winfo height $_frame] > [winfo reqheight $_frame.f]} {
    272279                $_frame itemconfigure frame -height [winfo height $_frame]
Note: See TracChangeset for help on using the changeset viewer.