diff options
| author | Greg Ercolano <erco@seriss.com> | 2014-01-27 06:47:04 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2014-01-27 06:47:04 +0000 |
| commit | 6c90855eada5d48079441d410aa4ab785a463b59 (patch) | |
| tree | 1cf7a91fb8615111849877bfe600b1f54e6c342a /examples/table-spreadsheet.cxx | |
| parent | ebd1e106aa651579defb92b0a9a70cbba10e7061 (diff) | |
Fix STR#3005; input field wasn't scrolling with table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'examples/table-spreadsheet.cxx')
| -rw-r--r-- | examples/table-spreadsheet.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/table-spreadsheet.cxx b/examples/table-spreadsheet.cxx index f7a5fd45a..408f1f3a0 100644 --- a/examples/table-spreadsheet.cxx +++ b/examples/table-spreadsheet.cxx @@ -188,6 +188,14 @@ void Spreadsheet::draw_cell(TableContext context, int R,int C, int X,int Y,int W return; } + case CONTEXT_RC_RESIZE: // table resizing rows or columns + if ( input->visible() ) { + find_cell(CONTEXT_TABLE, row_edit, col_edit, X, Y, W, H); + input->resize(X,Y,W,H); + init_sizes(); + } + return; + default: return; } |
