Alignment for tc:cell
---------------------

                 Key: TOBAGO-654
                 URL: https://issues.apache.org/jira/browse/TOBAGO-654
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.17
         Environment: All
            Reporter: Helmut Swaczinna
            Priority: Minor


Alignment attributes (align, valign) for tc:cell are very usefull to have. 
Example:

    <tc:panel">  
      <f:facet name="layout">
        <tc:gridLayout border="1" margin="5" cellspacing="5"
          rows="*;*;*;*" columns="*;*;*;*"/>
      </f:facet>      
      <tc:cell>
        <tc:out value="0/0"/>        
      </tc:cell>
      <tc:cell align="left">
        <tc:out value="0/1"/>        
      </tc:cell>
      <tc:cell align="center">
        <tc:out value="0/2"/>        
      </tc:cell>
      <tc:cell align="right">
        <tc:out value="0/3"/>        
      </tc:cell>
      
      <tc:cell valign="top">
        <tc:out value="1/0"/>        
      </tc:cell>
      <tc:cell align="left" valign="top">
        <tc:out value="1/1"/>        
      </tc:cell>
      <tc:cell align="center" valign="top">
        <tc:out value="1/2"/>        
      </tc:cell>
      <tc:cell align="right" valign="top">
        <tc:out value="1/3"/>        
      </tc:cell>
              
      <tc:cell valign="middle">        
        <tc:out value="2/0"/>        
      </tc:cell>
      <tc:cell align="left" valign="middle">        
        <tc:out value="2/1"/>        
      </tc:cell>
      <tc:cell align="center" valign="middle">        
        <tc:out value="2/2"/>        
      </tc:cell>
      <tc:cell align="right" valign="middle">        
        <tc:out value="2/3"/>        
      </tc:cell>
              
      <tc:cell valign="bottom">        
        <tc:out value="3/0"/>        
      </tc:cell>
      <tc:cell align="left" valign="bottom">        
        <tc:out value="3/1"/>        
      </tc:cell>
      <tc:cell align="center" valign="bottom">        
        <tc:out value="3/2"/>        
      </tc:cell>
      <tc:cell align="right" valign="bottom">        
        <tc:out value="3/3"/>        
      </tc:cell>
              
    </tc:panel>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to