This is an automated email from the ASF dual-hosted git repository.
harbs 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 9154942 Oops
9154942 is described below
commit 9154942de54ff32fa48fc01a33a7ed7383d41c0a
Author: Harbs <[email protected]>
AuthorDate: Mon Dec 13 16:28:19 2021 +0200
Oops
---
.../main/royale/spark/components/supportClasses/DropDownListButton.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
index 5427e13..997336c 100644
---
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
+++
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/supportClasses/DropDownListButton.as
@@ -32,6 +32,7 @@ package spark.components.supportClasses
import org.apache.royale.svg.elements.Svg;
import org.apache.royale.svg.elements.ClipPath;
import org.apache.royale.svg.GraphicShape;
+ import org.apache.royale.html.util.createSVG;
}
/**
@@ -118,7 +119,7 @@ package spark.components.supportClasses
text.y = 3;
text.element.setAttribute("clip-path",'url(#' + clipid
+ ')');
svg.addElement(text)
- var style:SVGStyleElement = new SVGStyleElement();
+ var style:SVGStyleElement = createSVG('style') as
SVGStyleElement;
style.innerHTML = '<![CDATA[' +
'text{ dominant-baseline: hanging;' +
/* font: 12px Verdana, Helvetica, Arial,
sans-serif;*/