From: Greg A. <ga...@es...> - 2001-01-16 06:06:57
|
I found a little bug: Create a view with 3 fields, widths 80, 70, 80. Switch to that view. You'll see the first two fields and a tiny piece of the 3rd, but the scroll right button is missing, making it impossible to scroll to see the full 3rd field. This is a general problem if the right-most column is clipped. Here's a patch that fixes it: RCS file: /cvsroot/pilot-db/db/grid.c,v retrieving revision 1.6 diff -r1.6 grid.c 56a57 > Boolean rightcolumnclipped = false; 65c66 < if (width > grid->bounds.extent.x - x) --- > if (width > grid->bounds.extent.x - x) { 66a68,69 > rightcolumnclipped = true; > } 94c97 < e.data.generic.datum[2] = (grid->rightColumn < grid->numCols - 1); --- > e.data.generic.datum[2] = (grid->rightColumn < grid->numCols - 1 || rightcolumnclipped); Also, this raises the question, what is the general procedure for submitting bug fixes and new features? Greg |