Update:
I have now come up with a solution that others may like to hear.
The situation is that I want a row of headings above a vertically scrolling pane. The pane had frame and the frame a grid of ‘cells’ that corresponded to the heading row.I am using the grid packing method.
I did want to use proportion fonts since these look better that fixed width fonts.
I created an gif file of the headings by:
1. getting a screen dump of the gui without the headings;
2. using a graphics application to view the screen shot;
3. lay out the headings as text so that these were positioned correctly:
4. save just the headings with the background of the GUI as a gif file;
5. used the gif file on the label.
Perhaps not perfect but certainly acceptable.
| [reply] |
The one drawback to using a graphic as a header, is what happens if someone wants to resize the whole window. With a graphic label, you will be forced into a certain window geometry. But if it works for you, great.
| [reply] |