feat(container): implement parent-child relationship for containers and update z-index management

This commit is contained in:
extio-de
2025-12-28 14:43:41 +01:00
parent 6c8db742c1
commit 00acf2296f
2 changed files with 138 additions and 14 deletions

View File

@@ -69,12 +69,14 @@ public class DemoModule extends AbstractClientModule {
this.secondaryWindow.setNormalizedPosition(centeredPosition(this.secondaryWindow.getNormalizedDimension()));
this.secondaryWindow.setDraggable(true);
this.secondaryWindow.setCloseButton(true);
this.secondaryWindow.setParent(this.mainWindow);
this.themeSelectionWindow = this.applicationContext.getBean(Window.class);
this.themeSelectionWindow.setNormalizedDimension(RendererControl.REFERENCE_RESOLUTION.divide(7).multiply(2));
this.themeSelectionWindow.setNormalizedPosition(centeredPosition(this.themeSelectionWindow.getNormalizedDimension()));
this.themeSelectionWindow.setDraggable(true);
this.themeSelectionWindow.setCloseButton(true);
this.themeSelectionWindow.setParent(this.mainWindow);
this.getModuleService().changeActiveState(this.getId(), true);
this.getModuleService().changeDisplayState(this.getId(), true);