I have to revert the change to UIBase that sets position:absolute when either .x or .y properties are set on the JS-side. Using absolute position messes with some layouts.
All of the layout code that requires position:absolute sets it when needed. BasicLayout, for example, sets position:absolute on each child and then checks the strand. If it doesn't have position set to either absolute or relative, it sets the strand's element's position to relative to ensure the absolute positioning of the children apply relative to the strand. If your component work needs to set .x and .y you have a couple of alternatives: 1: Write your component using Group or Container as its base class. Then add in the BasicLayout bead. 2: If your component is UIBase based, then use COMPILE::JS block to set element.style.position = "absolute" whenever you set .x or .y. We can also make a UIComponentBase class that extends GroupBase and puts in BasicLayout. Then you just need to trigger the layout once your view has been created and whenever it changes side. —peter On 3/30/17, 8:23 AM, "Peter Ent" <p...@adobe.com> wrote: >Yes, please push the changes when you can. Thank you! >‹peter > >On 3/30/17, 12:59 AM, "piotrz" <piotrzarzyck...@gmail.com> wrote: > >>Hi Peter, >> >>I just checked your branch and MDL look fine. In order to build it I had >>to >>merge current develop to your branch I hope that you don't mind if I >>pushit >>it. Changes which come from develop wasn't also breakage. Mainly maven >>pom >>changes and ListExample. >> >>Piotr >> >> >> >>----- >>Apache Flex PMC >>piotrzarzyck...@gmail.com >>-- >>View this message in context: >>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fl >>e >>x-development.2333347.n4.nabble.com%2FFlexJS-feature-branch-tp60916p60918 >>. >>html&data=02%7C01%7C%7C8361970bedab42d55bfd08d4772ac759%7Cfa7b1b5a7b34438 >>7 >>94aed2c178decee1%7C0%7C0%7C636264472995482886&sdata=VD6J1EA%2BSjGKI4VUXuH >>o >>zLENiwvNRmgEyaUtp4LOjWs%3D&reserved=0 >>Sent from the Apache Flex Development mailing list archive at Nabble.com. >