mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +08:00
PL-10499 Incorrect view of EntityInspectorEditor
This commit is contained in:
parent
f59e73d043
commit
04c654875b
@ -341,6 +341,7 @@ public class EntityInspectorEditor extends AbstractWindow {
|
||||
protected void createDataComponents(MetaClass metaClass, Entity item) {
|
||||
FieldGroup fieldGroup = componentsFactory.createComponent(FieldGroup.class);
|
||||
fieldGroup.setBorderVisible(true);
|
||||
fieldGroup.setWidthFull();
|
||||
|
||||
contentPane.add(fieldGroup);
|
||||
fieldGroup.setFrame(frame);
|
||||
@ -584,7 +585,7 @@ public class EntityInspectorEditor extends AbstractWindow {
|
||||
field.setCustom(custom);
|
||||
field.setRequired(required);
|
||||
field.setEditable(!readOnly);
|
||||
field.setWidth("400px");
|
||||
field.setWidth("100%");
|
||||
|
||||
if (requireTextArea(metaProperty, item)) {
|
||||
Element root = DocumentHelper.createElement("textArea");
|
||||
@ -654,7 +655,7 @@ public class EntityInspectorEditor extends AbstractWindow {
|
||||
String caption = getPropertyCaption(datasource.getMetaClass(), metaProperty);
|
||||
field.setCaption(caption);
|
||||
field.setMetaClass(propertyMeta);
|
||||
field.setWidth("400px");
|
||||
field.setWidth("100%");
|
||||
|
||||
PickerField.LookupAction lookupAction = field.addLookupAction();
|
||||
//forwards lookup to the EntityInspectorBrowse window
|
||||
|
@ -22,8 +22,12 @@
|
||||
<tabSheet id="tablesTabSheet" width="100%">
|
||||
<tab id="general" caption="msg://general" spacing="true">
|
||||
<scrollBox id="fieldsScrollBox" height="100%" width="100%" spacing="true">
|
||||
<vbox id="contentPane" spacing="true"/>
|
||||
<vbox id="runtimePane" spacing="true"/>
|
||||
<vbox id="contentPane"
|
||||
spacing="true"
|
||||
width="theme://cuba.gui.entity-inspector-edit.contentPane.width"/>
|
||||
<vbox id="runtimePane"
|
||||
spacing="true"
|
||||
width="theme://cuba.gui.entity-inspector-edit.runtimePane.width"/>
|
||||
</scrollBox>
|
||||
</tab>
|
||||
</tabSheet>
|
||||
|
@ -105,6 +105,9 @@ cuba.gui.copy-settings.userSelect.width=350px
|
||||
|
||||
cuba.gui.category-edit.field.width=200px
|
||||
|
||||
cuba.gui.entity-inspector-edit.contentPane.width=1000px
|
||||
cuba.gui.entity-inspector-edit.runtimePane.width=1000px
|
||||
|
||||
cuba.gui.entity-log-browse.field.width=250px
|
||||
cuba.gui.entity-log-browse.button.width=70px
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user