Skip to content

Commit

Permalink
Remove full screen (adempiere#803)
Browse files Browse the repository at this point in the history
* Fix: Remove Full Screen

* Fix: Remove Full Screenminimal changes
  • Loading branch information
elsiosanchez committed Jan 31, 2023
1 parent a4887a1 commit 56896b6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 27 deletions.
8 changes: 1 addition & 7 deletions src/views/ADempiere/Window/DocumentWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,8 @@ export default defineComponent({
if (!isWithChildsTab.value) {
return 'height: 0% !important'
} else {
if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 20% !important'
} else if (props.windowMetadata.isFullScreenTabsChildren) {
return 'height: 75% !important'
}
return 'height: 550px !important'
}
return 'height: 50% !important'
})
const actionsManager = computed(() => {
Expand Down
8 changes: 4 additions & 4 deletions src/views/ADempiere/Window/Finances.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@ export default defineComponent({
if (!isWithChildsTab.value) {
return 'height: 0% !important'
} else {
if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// } else if (!isEmptyVAlue(props.windowMetadata.isFullScreenTabsChildren) && props.windowMetadata.isFullScreenTabsChildren) {
// return 'height: 550px !important'
}
// }
}
return 'height: 50% !important'
// return 'height: 50% !important'
})
const isViewFullScreenChild = computed(() => {
Expand Down
8 changes: 4 additions & 4 deletions src/views/ADempiere/Window/GeneralLedger.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@ export default defineComponent({
if (!isWithChildsTab.value) {
return 'height: 0% !important'
} else {
if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// } else if (!isEmptyVAlue(props.windowMetadata.isFullScreenTabsChildren) && props.windowMetadata.isFullScreenTabsChildren) {
// return 'height: 550px !important'
}
// }
}
return 'height: 50% !important'
// return 'height: 50% !important'
})
const isViewFullScreenChild = computed(() => {
Expand Down
8 changes: 4 additions & 4 deletions src/views/ADempiere/Window/MaterialsManagement.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ export default defineComponent({
if (!isWithChildsTab.value) {
return 'height: 0% !important'
} else {
if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// } else if (!isEmptyVAlue(props.windowMetadata.isFullScreenTabsChildren) && props.windowMetadata.isFullScreenTabsChildren) {
// return 'height: 550px !important'
}
// }
}
return 'height: 50% !important'
// return 'height: 50% !important'
})
const isViewFullScreenChild = computed(() => {
Expand Down
8 changes: 4 additions & 4 deletions src/views/ADempiere/Window/MultiTabWindow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ export default defineComponent({
if (!isWithChildsTab.value) {
return 'height: 0% !important'
} else {
if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// if (props.windowMetadata.isFullScreenTabsParent) {
return 'height: 550px !important'
// } else if (!isEmptyVAlue(props.windowMetadata.isFullScreenTabsChildren) && props.windowMetadata.isFullScreenTabsChildren) {
// return 'height: 550px !important'
}
// }
}
return 'height: 50% !important'
// return 'height: 50% !important'
})
const isViewFullScreenChild = computed(() => {
Expand Down
9 changes: 5 additions & 4 deletions src/views/ADempiere/Window/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,11 @@ export default defineComponent({
if (isEmptyValue(currentTab.value.childTabs)) {
return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; padding-right: 10px; padding-left: 3px;overflow: auto;display: contents'
}
if (storedWindow.value.isFullScreenTabsParent || storedWindow.value.isFullScreenTabsChildren) {
return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; padding-right: 10px; padding-left: 3px;overflow: auto;'
}
return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; padding-right: 10px; padding-left: 3px;overflow: auto;height: 100%;'
return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 10px; padding-right: 10px; padding-left: 3px;overflow: auto;'
// if (storedWindow.value.isFullScreenTabsParent || storedWindow.value.isFullScreenTabsChildren) {
// return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; padding-right: 10px; padding-left: 3px;overflow: auto;'
// }
// return 'width: 100%; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; padding-right: 10px; padding-left: 3px;overflow: auto;height: 100%;'
})
const currentTab = computed(() => {
Expand Down

0 comments on commit 56896b6

Please sign in to comment.