Changeset 74


Ignore:
Timestamp:
Sep 28, 2005 8:27:17 PM (19 years ago)
Author:
mmc
Message:

Added structure examples to the zoo.

Fixed the molecule viewer to pop up a little smaller.

Fixed the controls panel to pop down to a small size
when it is empty.

Location:
trunk
Files:
15 added
2 edited

Legend:

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

    r69 r74  
    6868    pack $_frame -expand yes -fill both
    6969
     70    #
     71    # Put this frame in whenever the control frame is empty.
     72    # It forces the size to contract back now when controls are deleted.
     73    #
     74    frame $_frame.empty -width 1 -height 1
     75
    7076    eval itk_initialize $args
    7177}
     
    280286        $_tabs delete 0 end
    281287    }
     288    grid forget $_frame.empty
    282289
    283290    #
     
    402409            incr row
    403410        }
     411        grid $_frame.empty -row $row
    404412      }
    405413    }
  • trunk/gui/scripts/moleculeViewer.tcl

    r64 r74  
    1515package require BLT
    1616
    17 option add *MoleculeViewer.width 5i widgetDefault
    18 option add *MoleculeViewer.height 5i widgetDefault
     17option add *MoleculeViewer.width 3i widgetDefault
     18option add *MoleculeViewer.height 3i widgetDefault
    1919option add *MoleculeViewer.backdrop black widgetDefault
    2020
Note: See TracChangeset for help on using the changeset viewer.