You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by "Nallathambi, Varunkumar" <va...@cgi.com> on 2020/09/28 08:26:27 UTC
mx:HBox and VBox unable to set width
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
Re: mx:HBox and VBox unable to set width
Posted by Alina Kazi <al...@apache.org>.
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.nallathambi@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 <al...@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.nallathambi@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
> >
> >
>
RE: mx:HBox and VBox unable to set width
Posted by "Nallathambi, Varunkumar" <va...@cgi.com>.
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 <al...@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.nallathambi@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
>
>
Re: mx:HBox and VBox unable to set width
Posted by Alina Kazi <al...@apache.org>.
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.nallathambi@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
>
>