Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The way things are set up right now, due to the nesting of containers (div or DisplayObjectContainer), you do get (0,0) at the top. It will usually be necessary to have nested containers for scrolling purposes if nothing else. As I'm going through the code, I don't see that IChrome is actually bei

Re: [FlexJS] Panel

2017-03-09 Thread yishayw
I think it makes sense to start the coordinates axis below the titlebar. In ExtJS they have the concept of docked components such as toolbars and titles. So I think you can do (I changed syntax to pseudo-mxml) In other words, docked items override the container's layout and chang

Re: [FlexJS] Panel

2017-03-09 Thread Alex Harui
On 3/9/17, 8:49 AM, "Peter Ent" wrote: >The idea of "chrome" is that these are components that do not count as >regular children and have special locations within the component. The >TitleBar and ControlBar are considered chrome because if you ask for the >children of the Panel, they are not li

Re: [FlexJS] Panel

2017-03-09 Thread Peter Ent
The idea of "chrome" is that these are components that do not count as regular children and have special locations within the component. The TitleBar and ControlBar are considered chrome because if you ask for the children of the Panel, they are not listed and if you have so many children in the Pa

Re: [FlexJS] Panel

2017-03-09 Thread PKumar
ChromeContainer should be fine. We should be able to modify the panel title bar style as header corlor , border etc. Can Panel title bar contain other controls as image , button , check box? On 09-Mar-2017 9:37 PM, "piotrz [via Apache Flex Development]" < ml-node+s247n60286...@n4.nabble.com>

Re: [FlexJS] Panel

2017-03-09 Thread piotrz
Hi Peter, Let's say that you reconstructed Panel using new Group container - How can we use there Chrome ? I would go with ChromedContainer. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Pane