I created a popup with dimensions set to width: 400 and height: 210 in the Designer. However, when I open it in the web browser, the size doesn't match what I expected.
I reviewed the system.perspective.openPopup() function, but it doesn’t seem to reference size, so I assume the dimensions should follow what’s defined in the Designer.
Is there a way to ensure the popup respects the defined size when opened in a browser?
I've attached some screenshots to show the behavior.
This usually happens because the popup is being rendered with layout constraints from the browser or parent container, rather than strictly following the Designer dimensions.
A few things to check:
Make sure the popup view root has fixed sizing enabled (not auto or flex-based scaling)
Check if any responsive scaling or view scaling settings are overriding the dimensions
Try explicitly setting size in system.perspective.openPopup() using width and height parameters
Also verify browser zoom level, as it can affect visual sizing
If the issue persists, testing with a minimal popup view can help isolate whether a component or layout container is affecting the sizing.
For better consistency, it’s also important to follow a structured approach to responsive design, UI layout rules and performance-focused web standards, especially when building scalable interfaces. You can read more about it here.
These practices help ensure layouts behave consistently across browsers, devices and screen sizes.