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 b36996d Fixed offset buttons
b36996d is described below
commit b36996d2cd4295518a3aa161cb8b3fd561181a5b
Author: Harbs <[email protected]>
AuthorDate: Mon Jul 9 18:24:33 2018 +0300
Fixed offset buttons
---
.../Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
index 3f5cffc..a0e0398 100644
---
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
+++
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/SpinnerView.as
@@ -110,6 +110,8 @@ COMPILE::JS {
IEventDispatcher(value).addEventListener("heightChanged",sizeChangeHandler);
COMPILE::JS {
var host:UIBase = value as UIBase;
+ // depending on the surrounding layout, the
element can be offset without this.
+ host.element.style.position = "absolute";
_increment = new SpinnerButton();
_increment.text = '\u25B2';