Changeset 4763


Ignore:
Timestamp:
Feb 6, 2011, 7:56:23 PM (9 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • add_node_x()
Location:
gaycko/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gaycko/trunk/src/render/position.c

    r4762 r4763  
    2727                gaycko_get_position(node->children[c], parent);
    2828                x+=node->children[c]->properties->width;
    29                
    3029               
    3130                gaycko_fix_table(node->children[c]);
     
    9998                break;
    10099        }
    101      
     100
    102101        y+=node->children[c]->properties->height;
    103102        h+=node->children[c]->properties->height;
     
    113112    unsigned int e = 0;
    114113    for(e = 0 ; e < node->children_count; e++) {
    115                 //gaycko_add_node_x(node->children[e], add);
    116         //gaycko_add_node_x(node->children[e], add);
    117         node->children[e]->properties->width += add;
    118         node->children[e]->properties->x += add;       
     114        gaycko_add_node_x(node->children[e], add);     
    119115    }
    120116    node->properties->x += add;
  • gaycko/trunk/tests/table.html

    r4762 r4763  
    66<tr><td> Cell1 </td><td> Cell2</td><td>Cell3 large</td></tr>
    77<tr><td> Cell4 wide too</td><td> Cell5</td><td>Cell6</td></tr>
     8<tr><td> Cell7 </td><td> Cell8</td><td>Cell9</td></tr>
     9<tr><td> Cell10</td><td> Cell11</td><td>Cell12</td></tr>
    810</table>
    911</body>
Note: See TracChangeset for help on using the changeset viewer.