Re: About the label on button

2020-04-29 Thread Alex Harui
He might need the binding so that the buttons get an initial size with no label and then may not resize correctly when binding assigns the label. From: Greg Dove Reply-To: "users@royale.apache.org" Date: Wednesday, April 29, 2020 at 9:22 PM To: "users@royale.apache.org" Subject: Re: About the

Re: About the label on button

2020-04-29 Thread Greg Dove
Please ignore that last email. I see you already created an issue - thanks! On Thu, Apr 30, 2020 at 4:22 PM Greg Dove wrote: > > Hi Serkan, > > For: > label="Select Filter" click="createAndShow();"/> > > The above doesn't seem right to me - whether the label is from a plain > text or from a re

Re: About the label on button

2020-04-29 Thread Greg Dove
Hi Serkan, For: The above doesn't seem right to me - whether the label is from a plain text or from a resource string. Why? width is set in pixels. But statuFilterButton.label.length is simply the number of chars in the String. So for the value 'Select Filter' it is assigning a width of 13px iiu

Re: About the label on button

2020-04-29 Thread serkan
Ok than it is better to create an issue. Thanks 30.04.2020 05:59 tarihinde Alex Harui yazdı: Mx:Button should work like it did in Flex. Might be a pixel or two difference, but mostly the same. -Alex *From: *serkan *Reply-To: *"users@royale.apache.org" , "users@royale.apache.org" *Date:

Re: About the label on button

2020-04-29 Thread Alex Harui
Mx:Button should work like it did in Flex. Might be a pixel or two difference, but mostly the same. -Alex From: serkan Reply-To: "users@royale.apache.org" , "users@royale.apache.org" Date: Wednesday, April 29, 2020 at 7:18 PM To: "users@royale.apache.org" Subject: Re: About the label on but

Re: About the label on button

2020-04-29 Thread serkan
Reminder. 29.04.2020 14:10 tarihinde serkan yazdı: Hi, I have three questions may be someone have time can help. 1. What should be the default behavior of the button with label,  should extend width according to label width or two line button ?     current is two line button. sample :

Re: TypeError: Error #1088: The markup in the document following the root element must be well-formed.

2020-04-29 Thread serkan
The difference between the xml structure for feeding components is not same as flex and this is what I am confused. Thank you for the detailed description Alex and Greg. Serkan 29.04.2020 19:10 tarihinde Alex Harui yazdı: Serkan, An XMLList literal with one node is indistinguishable from an

RE: Assistance Needed: DataContainer alignments

2020-04-29 Thread Brian Raymes
No longer need assistance. While I still do not understand why the gap is at the beginning of subsequent lines, setting the gap to zero and controlling padding with the item renderers solves my issue. Thank you, Brian From: Brian Raymes Sent: Tuesday, April 28, 2020 5:52 PM To: users@royale.a

Re: TypeError: Error #1088: The markup in the document following the root element must be well-formed.

2020-04-29 Thread Alex Harui
Serkan, An XMLList literal with one node is indistinguishable from an XML literal. The JS runtime does not understand XMLList and XML so we test by asking the browser to parse the literal. XMLList literals with more than one child will not parse and that’s how we know it is XMLList and not X

About the label on button

2020-04-29 Thread serkan
Hi, I have three questions may be someone have time can help. 1. What should be the default behavior of the button with label, should extend width according to label width or two line button ?     current is two line button. sample :                             label="Select Filter" clic

Re: TypeError: Error #1088: The markup in the document following the root element must be well-formed.

2020-04-29 Thread serkan
I completely agree Alex. This example produce the menubar if you set "menuBarData.source = menuDataXMLList;"                                                                                                         Also this one is producing the menubar but you have to set the source

Re: TypeError: Error #1088: The markup in the document following the root element must be well-formed.

2020-04-29 Thread serkan
Hi Greg, The exception is in try catch.  So I can live with it :) I am going to ignore it but for your note and to be clear that we are at the same point,  here are the two samples with exception and without exception. with exception :