Q: WIDGET_TABLE does not fill all available space [message #12374] |
Thu, 16 July 1998 00:00 |
Jan Kybic
Messages: 1 Registered: July 1998
|
Junior Member |
|
|
Hello,
I am using a WIDGET_TABLE to show values of a 3x3 integer
matrix. It works but I get an extra frame around the table, like this:
-----------------
| 1 | 2 | 3 | |
|------------ |
| 3 | 3 | 1 | |
|------------ |
| 1 | 2 | 2 | |
|------------ |
| |
-----------------
The relevant portion of the code is:
w5= widget_base(w4, /COLUMN, column=1) ; I created a widget base
wmep=widget_label(w5, uvalue="ptext") ; I add a few things in it
...
; finally I create the table
wtbl=widget_table(w5, ROW_LABELS=['X','Y','Z'], xsize=3,ysize=3, $
column_labels=['R','G','B'],uvalue="ctable",value=fix(cursvox), $
format='(I3)',alignment=2)
Any ideas how to avoid the extra frame? I either do not want it
displayed or I want the table expand to fill it completely. Thanks in
advance.
Jan
--
------------------------------------------------------------ -------------
Jan Kybic <Jan.Kybic@epfl.ch> BIG IOA DMT EPFL Lausanne, Switzerland
http://bigwww.epfl.ch/kybic tel. work +41 (21) 693 3756
For PGP key see my WWW page.
|
|
|