Hi, I have created an example with HBox and VBox. https://paste.apache.org/qj0k5
https://drive.google.com/file/d/1THurZ70ayJnBRN1a09XBulkiaAd0phqi/view?usp=sharing I didn't get any error on console except invalidateParentSizeAndDisplayList not implemented create an example for your case and share with us so we can help you. -Alina Kazi On Mon, Sep 28, 2020 at 3:03 PM Nallathambi, Varunkumar < varunkumar.nallatha...@cgi.com> wrote: > 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 <alinak...@apache.org> > Sent: Monday, September 28, 2020 3:13 PM > To: dev@royale.apache.org > 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 < > varunkumar.nallatha...@cgi.com> 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 > > > > >