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/03/18 15:06:50 UTC
[GitHub] [royale-asjs] cristallium opened a new issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
cristallium opened a new issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759
Hi,
I come back to work on my website using Apache Royale. It seem since last build (3 or 5 months over) that TabBar doesn't fill it's childs if insered into a group.
Here is the code :
```
<j:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/royale/basic"
xmlns:j="library://ns.apache.org/royale/jewel"
>
<j:initialView>
<j:View>
<j:Label text="HELLO"/>
<j:Group width="100%" height="100%">
<j:TabBar width="100%" rowHeight="60">
<j:beads>
<js:ConstantBinding sourcePropertyName="tabBarDataSample" destinationPropertyName="dataProvider"/>
<j:AssignTabContent selectedContentProperty="content">
<j:content>
<j:TabBarContent width="100%" height="600">
<j:SectionContent name="informations" >
<j:Label text="Informations"/>
</j:SectionContent>
<j:SectionContent name="commandes" >
<j:Label text="Commandes"/>
</j:SectionContent>
</j:TabBarContent>
</j:content>
</j:AssignTabContent>
</j:beads>
</j:TabBar>
</j:Group>
</j:View>
</j:initialView>
<fx:Script>
<![CDATA[
import org.apache.royale.collections.ArrayList;
private var _tabBarDataSample:ArrayList = new ArrayList([
{label:"Informations", content:"informations"},
{label:"Commandes", content:"commandes"}
]);
[Bindable]
public function get tabBarDataSample():ArrayList
{
return _tabBarDataSample;
}
]]>
</fx:Script>
</j:Application>
```
To make this code working I must remove `<j:Group width="100%" height="100%">`
There is no error in console
Maybe I made a mistake ?
Regards
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] carlosrovira closed issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
carlosrovira closed issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] cristallium commented on issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
cristallium commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-601582104
Hi Carlos,
Thanks for this usefull information. I agree with you, this is more coherent.
I will try today
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] carlosrovira commented on issue #759:
seems broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-600775493
Hi, since the change is recent latest 24-48h, maybe can still have issues with different content not already tested. You can as well compare you actual code with actual TDJ code, so maybe something is different to.
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] cristallium commented on issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
cristallium commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-600764547
Hi Carlos,
Many thanks for you quick reply as alway !
In fact I always have the issue because I give you a simplified test case.
In reality I use a `group `with states, parent is a `ScrollableSectionContent `parent with `ApplicationMainContent `parent with `ApplicationResponsiveView `parent with `initialView `parent with `Application`. (I used code from tour de Jewel)
Setting 100% on each parent make issues. So I will try to do another smallest test case and open a new issue if I can't make it working.
Thanks again !
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] carlosrovira commented on issue #759:
seems broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-600733721
Hi,
quick fix is you need
`<j:View width="100%" height="100%">`
explanation: recently I added code to make containers smarter, so we can nest them using % sizes, but that requires that although before you can left a continer does not have width or height declared, now it is a must.
View is the one that is not allowing to view the rest, since now Group has "overflow: hidden". That seems the most natural and close to how Flex do this kind of things
HTH
Carlos
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] carlosrovira commented on issue #759:
seems broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
carlosrovira commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-601424685
Hi Fred,
just let you know that I make group work as before (not clipping content), since is the same as Flex worked. Instead Container is the one that composes Viewport and clip content. So I added VContainer and Container and now Card extends VContainer instead of VGroup. This should be now more coherent.
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] cristallium commented on issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
cristallium commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-601185441
Hi,
Worked fine when clean et rebuild all project !
Thanks
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [royale-asjs] cristallium commented on issue #759: seems
broken when set in SDK 0.9.7 royale-asjs_jsonly #1053
Posted by GitBox <gi...@apache.org>.
cristallium commented on issue #759: <j:TabBar> seems broken when set in <j:Group> SDK 0.9.7 royale-asjs_jsonly #1053
URL: https://github.com/apache/royale-asjs/issues/759#issuecomment-601185321
Hi Carlos,
Many thanks for you quick reply as alway !
In fact I always have the issue because I give you a simplified test case.
In reality I use a `group `with states, parent is a `ScrollableSectionContent `parent with `ApplicationMainContent `parent with `ApplicationResponsiveView `parent with `initialView `parent with `Application`. (I used code from tour de Jewel)
Setting 100% on each parent make issues. So I will try to do another smallest test case and open a new issue if I can't make it working.
Thanks again !
Hi,
Worked fine when clean et rebuild all project !
----------------------------------------------------------------
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
With regards,
Apache Git Services