We're using Marvin 5.2.3. In Marvin API, it seems that setCellSize method in TableSupport class does not work as expected. No matter what kind of dimension gets passed in, the molecule stays at one size.
Is there any way to make the table cell bigger programmatically when a SD file is loaded?
The setCellSize method sets the cell size in the table, but do not update the viewer. Loading the molecule after using the setCellSize method, or calling the enqueueUpdate method afterwards should update the molecule - and the size - too.
If these solutions does not work please send an example code, and we will check the bug.
No way, setCellSize is for GridBagView, not SpreadsheetView. I fixed the API doc. SpreadsheetView column width and row height cannot be set currently but I created TableOptions.setRowHeight and setColumnWidth for Marvin 5.2.4.
Fixed TableOptions.setColumnWidth(int) to change the default width in the left table too and created a two-argument version, setColumnWidth(int column, int w). Marvin 5.2.5 will contain the bugfix and the new method.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum