Did you try to set the margins to 0 and horizontal/vertical gaps to 0 as well? If you put different background colors on your VBox and label, sometimes it helps visualizing how components are aligned with others.
- ptrisnadi
----- Original Message ----
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Mon Sep 26 10:46:42 2005
Subject: [flexcoders] Problems with alligning
</mx:HBox>
- ptrisnadi
----- Original Message ----
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Mon Sep 26 10:46:42 2005
Subject: [flexcoders] Problems with alligning
Sorry for mentioning this again but I am still having problems alligning the code I want to the left. I will however post some code so that maybe I can clear up what it is that I am trying to do. I want the label that says "Allign this text to the left" to appear on the left side of the page and I was thinking that maybe the textAllign attribute could do that but I guess not. Can someone give me tips on how i might want to go about alligning it?
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" marginTop="8" verticalGap="0">
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" marginTop="8" verticalGap="0">
<mx:HBox >
<mx:Label text="Allign label below" fontSize="20"/>
<mx:Label text="Allign label below" fontSize="20"/>
</mx:HBox>
<mx:VBox>
<mx:Label text="Allign this thext to the left" textAlign="left" fontSize= "20"/>
</mx:VBox>
</mx:Application>
<mx:Label text="Allign this thext to the left" textAlign="left" fontSize= "20"/>
</mx:VBox>
</mx:Application>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.