diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-10-28 20:04:19 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-10-28 20:04:19 (GMT) |
commit | 5b6d2f5678f622c972c5a2f22832d21b54fe6bea (patch) | |
tree | 057a63955338833ab507b01ffb475b3e7d2a99f7 /ds9 | |
parent | 032c885d84db5a327e8277e09a4eb40945677d6c (diff) | |
download | blt-5b6d2f5678f622c972c5a2f22832d21b54fe6bea.zip blt-5b6d2f5678f622c972c5a2f22832d21b54fe6bea.tar.gz blt-5b6d2f5678f622c972c5a2f22832d21b54fe6bea.tar.bz2 |
SAVEIMAGE/CAT fixed a problem with MacOS support
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/library/catdialog.tcl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ds9/library/catdialog.tcl b/ds9/library/catdialog.tcl index bb4e724..25e2d02 100644 --- a/ds9/library/catdialog.tcl +++ b/ds9/library/catdialog.tcl @@ -391,6 +391,12 @@ proc CATDialog {varname format catalog title action} { # Table set f [ttk::frame $w.tbl] + # set the col width + switch $var(format) { + cxc {set cw 18} + default {set cw 14} + } + set var(tbl) [table $f.t \ -state disabled \ -usecommand 0 \ @@ -401,6 +407,7 @@ proc CATDialog {varname format catalog title action} { -rows $icat(minrows) \ -width -1 \ -height -1 \ + -colwidth $cw \ -maxwidth 300 \ -maxheight 300 \ -titlerows 1 \ |