提交 b564aee1 编写于 作者: S Serge Rider

RSV preview panel render fix

上级 854c4fd2
......@@ -1559,6 +1559,16 @@ public abstract class LightGrid extends Canvas {
showColumn(col);
}
public void showColumn(Object element)
{
for (GridColumn column : columns) {
if (column.getElement() == element) {
showColumn(column);
break;
}
}
}
private void showColumn(@NotNull GridColumn col)
{
checkWidget();
......@@ -2161,7 +2171,7 @@ public abstract class LightGrid extends Canvas {
* Manages the state of the scrollbars when new items are added or the
* bounds are changed.
*/
private void updateScrollbars()
public void updateScrollbars()
{
Point preferredSize = getTableSize();
......
......@@ -637,6 +637,11 @@ public class SpreadsheetPresentation extends AbstractPresentation implements IRe
} else {
resultsSash.setMaximizedControl(null);
previewValue();
spreadsheet.updateScrollbars();
if (curAttribute != null) {
spreadsheet.showColumn(curAttribute);
}
}
DBeaverCore.getGlobalPreferenceStore().setValue(VIEW_PANEL_VISIBLE, isPreviewVisible());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册