You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/11/24 19:42:49 UTC
[GitHub] [royale-asjs] yishayw opened a new issue #952: Spark DropDown Button Sizing is Off
yishayw opened a new issue #952:
URL: https://github.com/apache/royale-asjs/issues/952
This app
```
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.apache.org/royale/spark"
creationComplete="init()"
>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
private function init():void
{
var coll:ArrayCollection = new ArrayCollection();
coll.addItem({"name": "NAME 1", "processedName": "name 1"});
pageListCombo.dataProvider = coll;
}
]]>
</fx:Script>
<s:DropDownList id="pageListCombo" labelField="processedName"/>
</s:Application>
```
Shows this
![image](https://user-images.githubusercontent.com/2101885/100143412-33d81e00-2e8d-11eb-8ee4-5de663e2579c.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] yishayw commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-733695820
Although the test case was solved I'm still seeing it in my app
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] estanglerbm commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-735685982
That was a simple version of the test case; the real versions (in a real application) use non-inline dataProviders and still have the issue. It works fine in Flex.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] estanglerbm commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-733401993
I've been getting this problem, too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] yishayw commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-733206624
Workaround is to replace
<s:DropDownList id="pageListCombo" labelField="processedName"/>
with
<s:DropDownList id="pageListCombo" labelField="processedName" height="20"/>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] yishayw commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-733225818
There's a cycle where the drop down button is measured for height and each time its height is set to "" its offesetHeight increases by 10px. Not sure why this happens (svg arrowdown?).
I think I saw a similar thing happen in issue #949 for measured width.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] aharui closed issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
aharui closed issue #952:
URL: https://github.com/apache/royale-asjs/issues/952
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] estanglerbm commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-735630262
The fix works really well, except for the attached test case (mx:Tree + s:DropDownList). (If you comment out DropDownList, the spacing problem is gone.)
[TestTreeDropdown.mxml.txt](https://github.com/apache/royale-asjs/files/5614557/TestTreeDropdown.mxml.txt)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] estanglerbm commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
estanglerbm commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-735718528
Even if you put mx:Tree in an s:NavigatorContent of an mx:ViewStack, it affects every s:DropDownList in every tab of that mx:ViewStack. It's a potent control!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] yishayw commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-733443598
Svg path calculation based on size seems to be off. My last commit helps but still doesn't look 100% right.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [royale-asjs] yishayw commented on issue #952: Spark DropDown Button Sizing is Off
Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #952:
URL: https://github.com/apache/royale-asjs/issues/952#issuecomment-735662834
@estanglerbm , I have seen all sorts of problems with objects being declared like that in mxml. Try creating the data provider from a script and maybe it will fix ur issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org