This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 78249d12ba (JS) Avoid mx Slider causing overflow on its parent(s).
This is because of oversized SVG graphics.
78249d12ba is described below
commit 78249d12ba388a22511d6d6b8725c526f28c522d
Author: greg-dove <[email protected]>
AuthorDate: Fri May 20 13:53:52 2022 +1200
(JS) Avoid mx Slider causing overflow on its parent(s). This is because of
oversized SVG graphics.
---
.../MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as
index 59c494de3d..f1b0131215 100644
---
a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as
+++
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as
@@ -1531,6 +1531,9 @@ package mx.controls.sliderClasses
*/
override protected function createChildren():void
{
+ COMPILE::JS{
+ element.style.overflow='hidden'; //because of over-sized
nested SVG rendering
+ }
super.createChildren();
if (!innerSlider)