Ignore:
Timestamp:
Nov 12, 2010, 9:16:17 AM (14 years ago)
Author:
gah
Message:

add unit cell to molvisviewer

File:
1 edited

Legend:

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

    r1930 r1943  
    446446
    447447    if 0 {
    448     if { ![winfo exists .labeltest] } {
    449         toplevel .labeltest -bg red
    450         label .labeltest.label -image $img
    451         pack .labeltest.label -fill both
    452     }
     448        if { ![winfo exists .labeltest] } {
     449            toplevel .labeltest -bg red
     450            label .labeltest.label -image $img
     451            pack .labeltest.label -fill both
     452        }
    453453    }
    454454    set pw [expr int(round($s * $w))]
    455455    set ph [expr int(round($s * $h))]
    456456    $_preview configure -width $pw -height $ph
    457     #.labeltest.label configure -image $img
     457    if 0 {
     458        .labeltest.label configure -image $img
     459    }
    458460    blt::winop resample $img $_preview box
    459461    image delete $img
     
    11861188    set _settings($this-general-remember) 0
    11871189    set page $itk_component(graph_page)
     1190    $page.format value [$page.format label $_settings($this-general-format)]
     1191    $page.style value [$page.style label $_settings($this-general-style)]
    11881192
    11891193    # Layout settings
     
    12601264    $itk_component(axis_combo) value $axis
    12611265    GetAxis
     1266    RegeneratePreview
    12621267}
    12631268
Note: See TracChangeset for help on using the changeset viewer.