c9 / c9.ide.run.debug

The repository for c9.ide.run.debug, a Cloud9 core plugin
https://c9.io/packages/c9.ide.run.debug
Other
13 stars 16 forks source link

Local Variables tree broken after resize #33

Open octachrome opened 8 years ago

octachrome commented 8 years ago

Expected: The Type column resizes normally. Actual: The size of the Type column jumps around erratically, sometimes disappearing, and is very difficult to resize.

This issue has a high impact on our project, since the names and types of variables are typically longer than the space available to display them, so users are likely to resize the debugger sidebar.

nightwing commented 8 years ago

This happens due to missing resize call for the datagrid, working on the fix now.

octachrome commented 7 years ago

@nightwing Is this a simple thing to fix? Can you give me a hint?

nightwing commented 7 years ago

I think something needs to listen to splitter.resize event similar to https://github.com/c9/core/blob/master/plugins/c9.ide.editors/pane.js#L522-L537 and call resize on datagrids https://github.com/c9/c9.ide.run.debug/blob/master/variables.js#L131 if needed.