You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2019/05/27 08:32:06 UTC
[royale-asjs] branch develop updated: Align combo view with its
popup
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 37ab0cf Align combo view with its popup
new fb7e0ea Merge branch 'develop' of https://github.com/apache/royale-asjs into develop
37ab0cf is described below
commit 37ab0cf5a2fa62704d6c7357e878312ad1f44de7
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Mon May 27 11:31:23 2019 +0300
Align combo view with its popup
---
.../org/apache/royale/html/beads/KeepComboPopupWithinParentBounds.as | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/KeepComboPopupWithinParentBounds.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/KeepComboPopupWithinParentBounds.as
index 63bd399..9fcd63b 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/KeepComboPopupWithinParentBounds.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/KeepComboPopupWithinParentBounds.as
@@ -22,7 +22,6 @@ package org.apache.royale.html.beads
import org.apache.royale.core.IPopUpHost;
import org.apache.royale.core.IStrand;
import org.apache.royale.core.IUIBase;
- import org.apache.royale.events.Event;
import org.apache.royale.events.IEventDispatcher;
import org.apache.royale.events.ValueEvent;
import org.apache.royale.geom.Point;
@@ -56,8 +55,6 @@ package org.apache.royale.html.beads
* @playerversion Flash 10.2
* @playerversion AIR 2.6
* @productversion Royale 0.9.6
- * @royaleignorecoercion HTMLInputElement
- * @royaleignorecoercion org.apache.royale.core.UIBase;
*/
public function set strand(value:IStrand):void
{
@@ -101,7 +98,7 @@ package org.apache.royale.html.beads
var relocated:Point = PointUtils.localToGlobal(origin,_strand);
if (isRightOutOfBounds)
{
- popup.x = relocated.x - popup.width;
+ popup.x = relocated.x - popup.width + (_strand as IUIBase).width;
}
if (isBottomOutOfBounds)
{