Changeset 217 for trunk

Show
Ignore:
Timestamp:
07/01/08 20:58:21 (5 months ago)
Author:
silver
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/flexbook/chapter9/chapter9_flex/src/printpage/PrintPage.mxml

    r216 r217  
    44    xmlns:MyComp="printpage.*"  
    55    backgroundColor="#FFFFFF" 
    6     paddingTop="50" paddingBottom="50" paddingLeft="50"> 
     6    paddingTop="50" paddingBottom="50" paddingLeft="50" paddingRight="50"> 
    77 
    88    <mx:Script> 
     
    4040    </mx:Script>     
    4141    <MyComp:PrintHeader id="header"/> 
    42     <mx:Image id="map" width="500" height="200"/>    
    43     <mx:PrintDataGrid id="myDataGrid" width="500" height="100%">     
     42    <mx:Image id="map" width="100%" height="200"/>    
     43    <mx:PrintDataGrid id="myDataGrid" width="100%" height="100%">     
    4444        <mx:columns> 
    4545            <mx:DataGridColumn headerText="名称" dataField="name"/> 
     
    4747            <mx:DataGridColumn headerText="纬度" dataField="lat"/> 
    4848        </mx:columns> 
    49     </mx:PrintDataGrid> 
     49    </mx:PrintDataGrid>     
     50    <!-- 打印页脚 --> 
    5051    <mx:VBox width="80%" horizontalAlign="left"> 
    5152        <mx:Label text="页数: {pageNumber}"/> 
    52     </mx:VBox>     
    53     <!-- 打印页脚 --> 
     53    </mx:VBox>         
    5454    <MyComp:PrintFooter id="footer" pTotal="{prodTotal}"/> 
    5555</mx:VBox>