You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/04/30 03:08:14 UTC

[GitHub] [royale-asjs] nihavend opened a new issue #817: Button should measure width according to label length

nihavend opened a new issue #817:
URL: https://github.com/apache/royale-asjs/issues/817


   Button width does not fit with the label.
   
   ![image](https://user-images.githubusercontent.com/5983818/80667833-df142680-8aa8-11ea-9124-3521bad0544d.png)
   
   Should be similar to
   
   ![image](https://user-images.githubusercontent.com/5983818/80667849-e9362500-8aa8-11ea-8d07-610628baf314.png)
   
   ```
   <?xml version="1.0" encoding="latin5" ?>
   
   <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
   			   xmlns:s="library://ns.apache.org/royale/spark"
   			   xmlns:mx="library://ns.apache.org/royale/mx"
   			   height="288" width="179"
   			   >
   
   	<fx:Script>
   		<![CDATA[
   			private function createAndShow():void {
   			}
   						
   		]]>
   	</fx:Script>
   	
   	<mx:Button id="statuFilterButton" width="" label="Select Filter" click="createAndShow();"/>
   	
   </s:Application>
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org