In 8.2, when dragging a window with shadows, the shadow size was respected when the window hit the boundaries of its container.
In 8.3, the size calculation seems to have changed: now an unwanted scroll bar appears in the container.
Steps to reproduce:
- Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Window will stay in the viewport, including shadow.
- Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Flickering scrollbars appear.
In 8.3, the size calculation seems to have changed: now an unwanted scroll bar appears in the container.
Steps to reproduce:
- Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Window will stay in the viewport, including shadow.
- Run the test case in 8.2, drag the window to the bottom right corner of the viewport. Flickering scrollbars appear.
Code:
isc.defineClass("HelpCanvas", "Canvas").addProperties({ autoDraw: false, defaultWidth: 300, padding: 10, contents: "<b>Severity 1</b> - Critical problem<br>System is unavailable in production or " + "is corrupting data, and the error severely impacts the user's operations." + "<br><br><b>Severity 2</b> - Major problem<br>An important function of the system " + "is not available in production, and the user's operations are restricted." + "<br><br><b>Severity 3</b> - Minor problem<br>Inability to use a function of the " + "system occurs, but it does not seriously affect the user's operations." }); isc.Window.create({ title: "Severity Levels", autoSize: true, canDragReposition: true, canDragResize: true, dragAppearance: "target", showShadow: true, items: [ isc.HelpCanvas.create() ] });
Comment