Hi Alina,
        Thanks. We are including VBox from another VBox. The chile vbox has 
some number of vbox like below. It has some alignment issue when I remove all 
width. My structure will be like below

<mx:Application>
<vbox 1>
</ mx:Application >

<vbox1>
<vbox/>
<hbox>
<hbox2/>
<hbox/>
</vbox1>

Regards,
Varunkumar N


-----Original Message-----
From: Alina Kazi <[email protected]> 
Sent: Monday, September 28, 2020 3:13 PM
To: [email protected]
Subject: Re: mx:HBox and VBox unable to set width


EXTERNAL SENDER:   Do not click any links or open any attachments unless you 
trust the sender and know the content is safe.
EXPÉDITEUR EXTERNE:    Ne cliquez sur aucun lien et n’ouvrez aucune pièce 
jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez 
l'assurance que le contenu provient d'une source sûre.

Hi Varunkumar,
Here you see the example of HBox https://paste.apache.org/0bg22 I have set 
width="100%" height="120"
 width in percentage and height in pixel. It worked for me here are the 
screenshots of browser and inspect mode :
https://drive.google.com/file/d/1uFQFnP1m63lsJCy95wZexJ4QKXxqb9JF/view?usp=sharing
https://drive.google.com/file/d/1whHKzqm0CdUUeSliazrJg_nNq-o27u63/view?usp=sharing

-Alina Kazi


On Mon, Sep 28, 2020 at 1:26 PM Nallathambi, Varunkumar < 
[email protected]> wrote:

> Hi,
>                 Unable to set width and height for inside mx:HBox and 
> mx:VBox. I am getting error as measuringElement of null in console. 
> Kindly help me on this.
>
> Regards,
> Varunkumar N
>
>

Reply via email to