This is an automated email from the ASF dual-hosted git repository.
yishayw 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 a71a8bd Temp fix for #952
new 1676fab Merge branch 'develop' of
https://github.com/apache/royale-asjs into develop
a71a8bd is described below
commit a71a8bd25a7ec4d2eef9ac7c0ddd544b61423cee
Author: Yishay Weiss <[email protected]>
AuthorDate: Wed Nov 25 03:37:12 2020 +0000
Temp fix for #952
---
.../royale/spark/components/supportClasses/DropDownListButton.as | 6 +++++-
1 file changed, 5 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 e3bdd9f..72c5c05 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
@@ -65,7 +65,11 @@ package spark.components.supportClasses
private function updateSkin(w:Number, h:Number):void
{
var clipid:String = "txtClip" + instanceId;
- if (h < 4) return;
+ // temp fix for
https://github.com/apache/royale-asjs/issues/952
+ //if (h < 4) return;
+ if (h < 15)
+ return;
+ h = h - 10;
element.innerHTML = '<svg width="' + w + 'px" height="' +
h + 'px" xmlns="http://www.w3.org/2000/svg"><clipPath id="' +
clipid + '"><rect x="0" y="0" height="' + h +
'px" width="' + (w - 29) +
'px"/></clipPath><text y="3px" clip-path="url(#' + clipid + ')">' +