Changeset 1129 for trunk


Ignore:
Timestamp:
Aug 26, 2008 5:45:43 PM (16 years ago)
Author:
gah
Message:

xylegend redraws

File:
1 edited

Legend:

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

    r1128 r1129  
    1616package require BLT
    1717
    18 option add *XyLegend.font \
    19     -*-helvetica-medium-r-normal-*-10-* widgetDefault
     18option add *Xylegend.font \
     19    -*-helvetica-medium-r-normal-*-8-* widgetDefault
     20
     21option add *Xylegend.Button.font \
     22    -*-helvetica-medium-r-normal-*-9-* widgetDefault
    2023
    2124itcl::class ::Rappture::XyLegend {
     
    4851                                                                               
    4952itk::usual XyLegend {
    50     keep -background -foreground -cursor -font
     53    keep -background -foreground -cursor
    5154}
    5255
    5356itk::usual TreeView {
    54     keep -background -foreground -cursor -font
     57    keep -background -foreground -cursor
    5558}
    5659
     
    7578        blt::treeview $itk_component(scrollbars).legend -linewidth 0 \
    7679            -bg white -selectmode multiple -width 0 \
    77             -highlightthickness 0 -tree $tree_ -flat yes -separator /
     80            -highlightthickness 0 \
     81            -tree $tree_ \
     82            -font "Arial 9" \
     83            -flat yes -separator /
    7884    }
    7985    $itk_component(scrollbars) contents $itk_component(legend)
     
    108114        set title [string totitle $but]
    109115        button $controls.$but -text $title \
    110             -relief flat -pady 0 -padx 0 -font "Arial 10" \
     116            -relief flat -pady 0 -padx 0  -font "Arial 9" \
    111117            -command [itcl::code $this $title]  -overrelief flat \
    112118            -activebackground grey90
Note: See TracChangeset for help on using the changeset viewer.