提交 952cb6d8 编写于 作者: S serge-rider

Properties form sizing fix

上级 dbd1b942
......@@ -261,8 +261,9 @@ public class ObjectPropertiesEditor extends AbstractDatabaseObjectEditor<DBSObje
Point sashSize = sashForm.getParent().getSize();
if (sashSize.x <= 0 || sashSize.y <= 0) {
// This may happen if EntityEditor created with some other active editor (i.e. props editor not visible)
propsSize.y += 10;
sashSize = getParentSize(sashForm);
sashSize.y += 20;
//sashSize.y += 20;
}
if (sashSize.x > 0 && sashSize.y > 0) {
float ratio = (float) propsSize.y / (float) sashSize.y;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册