From b4d44e954f508219db52e5825a72cbc42091b89e Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:15:34 -0400 Subject: [PATCH] #2972 (#2990) --- .../ADempiere/FieldDefinition/FieldButton.vue | 27 +++++++++++++++++++ .../ADempiere/FieldDefinition/index.vue | 2 +- src/components/ADempiere/TabManager/index.vue | 4 ++- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/src/components/ADempiere/FieldDefinition/FieldButton.vue b/src/components/ADempiere/FieldDefinition/FieldButton.vue index 175ee3e297..4d94abf43a 100644 --- a/src/components/ADempiere/FieldDefinition/FieldButton.vue +++ b/src/components/ADempiere/FieldDefinition/FieldButton.vue @@ -398,3 +398,30 @@ export default { } } + + diff --git a/src/components/ADempiere/FieldDefinition/index.vue b/src/components/ADempiere/FieldDefinition/index.vue index 34d130bc63..e50a0e7ed7 100644 --- a/src/components/ADempiere/FieldDefinition/index.vue +++ b/src/components/ADempiere/FieldDefinition/index.vue @@ -404,7 +404,7 @@ export default { }, styleDraggable() { if (this.field.componentPath === 'FieldButton') { - return 'text-align: center !important;' + return 'text-align: center !important;width: max-content;' } if (!this.isDraggable) { return '' diff --git a/src/components/ADempiere/TabManager/index.vue b/src/components/ADempiere/TabManager/index.vue index 1a179451bd..0b8a1cae28 100644 --- a/src/components/ADempiere/TabManager/index.vue +++ b/src/components/ADempiere/TabManager/index.vue @@ -301,7 +301,7 @@ export default defineComponent({ } return { height: '100% !important', - overflow: 'auto' + overflow: 'hidden' } }) @@ -597,6 +597,8 @@ export default defineComponent({ } } + console.log({ query, routerParams, currentRoute }) + const { keyColumn } = store.getters.getStoredTab(props.parentUuid, containerUuid) if (!isEmptyValue(query.recordId)) { filtersRecord = {