Ignore:
Timestamp:
May 30, 2005, 9:33:49 PM (19 years ago)
Author:
mmc
Message:

Major reorganization of the entire package. The config.xml file
is now irrelevant. All the action is in the tool.xml file. The
main program now organizes all input into 1) side-by-side pages,
2) input/result (wizard-style) pages, or 3) a series of wizard-
style pages. The <input> can have <phase> parts representing
the various pages.

Added a new ContourResult? widget based on Swaroop's vtk plotting
code.

Also, added easymesh and showmesh to the "tools" directory.
We need these for Eric Polizzi's code.

File:
1 edited

Legend:

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

    r1 r11  
    77# ======================================================================
    88#  AUTHOR:  Michael McLennan, Purdue University
    9 #  Copyright (c) 2004  Purdue Research Foundation, West Lafayette, IN
     9#  Copyright (c) 2004-2005
     10#  Purdue Research Foundation, West Lafayette, IN
    1011# ======================================================================
    1112package require Itk
     
    135136    set _values [lreplace $_values $first $last]
    136137    set _labels [lreplace $_labels $first $last]
     138    $itk_component(list) delete $first $last
    137139}
    138140
     
    273275        if {$maxw < [winfo width $widget]} { set maxw [winfo width $widget] }
    274276    }
    275     set avg [font measure $fnt "x"]
     277    set avg [font measure $fnt "n"]
    276278    $itk_component(list) configure -width [expr {round($maxw/double($avg))+1}]
    277279
Note: See TracChangeset for help on using the changeset viewer.