Hi, Rajesh.
 
I replied to you on Thursday on flexcoders. Please don't post to
multiple lists, because many people read both and they don't want to see
the duplication.
 
Flexcoders is the appropriate place for general questions like this one
about layout. Flexcomponents is for developers who are developing
components from scratch or subclassing the ones in the framework.
 
Gordon Smith
Adobe Flex SDK Team

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of rajesh war
Sent: Thursday, February 21, 2008 11:37 PM
To: [email protected]
Subject: [flexcomponents] Regarding Problem with mx:Repeater



Hi Gordon,
 I tried the piece of code driven By you, but in my case I am using VBox
as a parent component tag. Just try with this piece of code and let me
know the solution.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
  <mx:VBox horizontalScrollPolicy="off" verticalScrollPolicy="off">
             
    <mx:HBox width="100%" height="100%"
             paddingLeft="0" paddingRight="0"
             backgroundColor="white">
        <mx:Repeater dataProvider="[0,1,2]">
            <mx:Spacer width="100%"/> 
            <mx:VRule id="vRule1" strokeColor="blue" height="100%"/> 
        </mx:Repeater>
        <mx:Spacer width="100%"/> 
    </mx:HBox>
    
    </mx:VBox>
</mx:Application>
Since I am using VBox, I think I am not getting segmentation of HBox
equally.
Cheers,
Rajeshwar
________________________________

From: Gordon Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 12:44 PM
To: Rajeshwar Mothe
Cc: [EMAIL PROTECTED]
Subject: RE: Problem while plotting Repeater in Flex
You should be able to join FlexCoders at
http://tech.groups.yahoo.com/group/flexcoders/
<http://tech.groups.yahoo.com/group/flexcoders/> 
- Gordon
________________________________

From: Rajeshwar Mothe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 21, 2008 10:46 PM
To: Gordon Smith
Cc: [EMAIL PROTECTED]
Subject: RE: Problem while plotting Repeater in Flex
 Hi Gordon,
 Sorry, from my side too. Please do give me mailing list addresses so
that I can reach all the Flex guys around the world. Thanks once again
for your kind reply and I will reach you if I got any technical concerns
in the future.
 Cheers,
 Rajeshwar
________________________________

From: Gordon Smith [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 12:07 PM
To: Rajeshwar Mothe
Subject: RE: Problem while plotting Repeater in Flex
> But please post your questions about Flex to DL-Flex Questions in the
future
Sorry, for some reason I thought you were on the Flex team in India and
gave you an internal mailing list. You should ask questions like this on
the FlexCoders list at Yahoo.
- Gordon
________________________________

From: Gordon Smith 
Sent: Thursday, February 21, 2008 10:31 PM
To: 'Rajeshwar Mothe'
Subject: RE: Problem while plotting Repeater in Flex
You can use a Spacer to space out the VRules:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
    <mx:HBox width="100%" height="100%"
             paddingLeft="0" paddingRight="0"
             backgroundColor="white">
   &! nbsp;    <mx:Repeater dataProvider="[0,1,2]">
            <mx:Spacer width="100%"/> 
            <mx:VRule id="vRule1" strokeColor="blue" height="100%"/> 
        </mx:Repeater>
        <mx:Spacer width="100%"/> 
    </mx:HBox>
</mx:Application>
This code produces the children
    Spacer
    VRule
    Spacer
    VRule
    Spacer
    VRule
    Spacer
so you get evenly spaced VRules.
But please post your questions about Flex to DL-Flex Questions in the
future, so that others besides me can answer and others besides you can
learn the answer.
Thanks,
Gordon
________________________________

From: Rajeshwar Mothe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 21, 2008 10:15 PM
To: Gordon Smith
Subject: Problem while plotting Repeater in Flex
Hi Smith,
This is Rajeshwar from India, I am currently working on Flex cairngorm
Framework. I was trying to plot Multiple Hboxes containing VRules in the
middle Using mx:Repeater.
Code structure I am following is a bit like :
     <mx:HBox paddingLeft="0" paddingRight="0" id="vRuleContainer"
width="100%" height="100%" creationPolicy="all">
           
       <mx:Repeater id="vruleRepeater"
dataProvider="{folioVO.FolioColumnsArray}" initialize="testFunction()">
                                         <mx:VRule id="vRule1"
strokeColor="blue"  height="100%"/>&n! bsp;              
      </mx:Repeater>
      </mx:HBox>
  Actually what I am trying to achieve is 
1.       Each HBox is divided into equal number of parts by VRule
2.       I am trying to represent VRule to divide HBox.
3.       Since I am using Repeater in the middle width is inconsistent.
 Please help me in this issue or atleast give me an alternative to use
some another component in the place of mx:Repeater.
Thanks in Advance !
Cheers,
Rajeshwar.
                        

________________________________

Now you can chat without downloading messenger. Click here
<http://in.rd.yahoo.com/tagline_webmessenger_5/*http://in.messenger.yaho
o.com/webmessengerpromo.php>  to know how. 

 

Reply via email to