Basic has the most minimal support for changing things.  Supporting change 
takes more code, so because of PAYG, only the most expected change are 
supported.

What is the "semantics" behind removing percentWidth?  That you want something 
to go back to sizing to its content?  One option is that could be a utils 
function like sizeToContent(widget:IUIBase) that knows how to manipulate a 
particular component set's widgets.  What needs to be done to a component might 
depend on the component set.

My 2 cents,
-Alex

On 12/18/19, 2:32 PM, "Carlos Rovira" <[email protected]> wrote:

    Hi,
    
    I think I had this issue at other time.
    
    Let's say we have a container where percentWidth is configured to 100, so
    in html this is:
    
    <div style="width:100%"/>
    
    then we need to remove style="width:100%" so we end with:
    
    <div/>
    
    In royale we can do container.percentWidth=100, but there's no way back
    right?
    we can't do container.percentWidth = NaN or undefined.
    
    Or I'm missing something?
    
    Thanks
    
    
    -- 
    Carlos Rovira
    
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7Cfec54ddf89ee40bc0e9e08d7840a3a00%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637123051791925058&amp;sdata=15HGG0Goo8bQwVlS4U5UNKQ2Nz8yue0WdDwSZcbYmZU%3D&amp;reserved=0
    

Reply via email to