GTkClist Patch Submission



I created a patch against the 1.3.1 gtkclist.c that impliments the column 
autosizing functionality in Gnumeric.  Basically, if you double click between 
two title buttons the column will resize itself to the size of the largest 
column entry.  Bad phrasing?  Just wait, I've got more!  An example:

Fire up Gnumeric
enter aaaaaaaaaaaaaaa into A1
enter aaaaaaaaaaaaaaa into B1
Double click between the A and B title buttons.
Column A resized to the length of aaaaaaaaaaaaaaa

That's what this patch gives to the clist.  It's very small and simple.  I've 
tested it pretty well, and cannot get it to fail.

This is the first submission, so I know that I'll get hammered a little.  
That's fine.  I appreciate it, as a matter of fact.  I don't like the idea of 
some unknown yahoo adding code to a base Gtk widget any more than you do.  
We'll call this the "What Am I Doing Wrong" release, even though it appears 
to work fine.

The patch is here:
ftp://ftp.orasoft.org/pub/clist_patch

Matthew
Orasoft(dot org)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]