开发者

FlowDocument TableColumn Width with star notation doesn't work consistently?

Can anyone explain why these two documents show differently?

Good one:

<FlowDocument>
  <Table>
    <Table.Columns>
      <TableColumn Width="1*" />
      <TableColumn Width="2*" />
    </Table.Columns>
    <TableRowGroup>
      <TableRow>
        <TableCell>
          <Paragraph>
            <Run>Name</Run>
          </Paragraph>
        </TableCell>
        <TableCell>
          <Paragraph>
            <Run>Address</Run>
          </Paragraph>
        </TableCell>
      </TableRow>
    </TableRowGroup>
  </Table>
</FlowDocument>

Bad one:

<FlowDocument>
  <Table>
    <Table.Columns>
      <TableColumn Width="1000*" />
      <TableColumn Width="2000*" />
    </Table.Columns>
    <TableRowGroup>
      <TableRow>
        <TableCell>
          <Paragraph>
            <Run>Name</Run>
          </Paragraph>
        </TableCell>
        <TableCell>
          <Paragraph>
            <Run>Address</Run>
          </Paragraph>
        </TableCell>
      </TableRow>
    </TableRowGroup>
  </Table>
</FlowDocument>

The only difference is th开发者_Go百科e multiplier of the star. Is this a bug?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜