that doesn't work either. it just gets rid of the 1px solid border I have.

        <mx:Canvas backgroundColor="#ffffff" cornerRadius="5" left="183"
right="10" top="66" bottom="10" borderStyle="solid" borderThickness="1">
                <mx:Panel layout="vertical" title="Inbox (3)"
dropShadowEnabled="false" headerColors="[#6186b3,#6186b3]"
borderColor="#6186b3" borderStyle="solid" borderThickness="1"
borderAlpha="1" paddingBottom="-1" paddingLeft="-1" paddingRight="-1"
paddingTop="-1" left="25" right="25" top="25" height="218"
verticalGap="-1" backgroundColor="#cfddee">
                        <mx:MenuBar width="100%" fillColors="[#eeeeee, #eeeeee]"
fillAlphas="[1.0, 1.0]"></mx:MenuBar>
                        <mx:DataGrid width="100%" height="100%">
                                <mx:columns>
                                        <mx:DataGridColumn headerText="From" 
dataField="col1"/>
                                        <mx:DataGridColumn headerText="Subject" 
dataField="col2"/>
                                        <mx:DataGridColumn 
headerText="Recieved" dataField="col3"/>
                                        <mx:DataGridColumn headerText="Size" 
dataField="col3"/>
                                </mx:columns>
                        </mx:DataGrid>
                        <mx:ControlBar barColor="#6186b3">
                                <mx:Label text="11 messages, 0 deleted, 10 
unread"/>
                                <mx:Spacer width="100%"/>
                                <mx:Label text="First &lt;&lt; 1 &gt;&gt; 
Last"/>
                        </mx:ControlBar>
                </mx:Panel>
        </mx:Canvas>

--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Hi Devin,
> 
> Try setting the Panel's borderThickness to 0.
> 
> -TH
> 
> --- In [email protected], "Devin Holloway" <devin@> wrote:
> >
> > I have a panel with a datagrid in it. I don't want any space around
> > the datagrid and the panel sides, but can't seem to get rid of it. I
> > set all the padding option on the panel to 0, and it does nothing
> >
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to