comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » column labels on table widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: column labels on table widgets [message #26266 is a reply to message #26196] Fri, 10 August 2001 14:56 Go to previous message
Harvey Rarback is currently offline  Harvey Rarback
Messages: 24
Registered: September 1998
Junior Member
ronn kling wrote:

> Has anyone figured out if it is possible to put two rows in a table widget
> column label? It would look something like this
>
> -----------------------------------------
> | NAME | AREA | MASS | TYPE |
> | | CM^2 | KG | |
> -----------------------------------------
> | A2 | 12.0 | 5.3 | G2 |
> -----------------------------------------

I don't believe so. I have written a widget object which replaces much of the
functionality of the table widget but includes

- multiple rows of column labels
- different color backgrounds and foregrounds per cell
- different alignments per cell
- different fonts for the column labels and table body
- none of the weird sizing problems of the table widget

It uses a draw widget with separate pixmaps for each cell.

That's the good news. The bad news is that I wrote this object for my own needs
and so it is not really documented (yet).

I would be glad to give out the code as is, or if there is enough interest I
could make it available in a more easily usable form.

--Harvey
[Message index]
 
Read Message
Read Message
Previous Topic: _ref_extra
Next Topic: Setting colors for Plotting to PRINTER

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:55:09 PDT 2025

Total time taken to generate the page: 0.00177 seconds