1
我有一个datagrid列,我正在使用itemRenderer。像这样的东西flex数据网格itemRenderer高度?
<mx:itemRenderer>
<mx:Component>
<mx:HBox width="100%" verticalAlign="middle" horizontalGap="0" horizontalScrollPolicy="off" height="22">
...
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
行高如果数据网格有任何实体罚款。但是,如果没有条目行高不再是22.有没有办法解决这个问题?我有两个datagrids在一个旁边,一个总是填充,所以它有正确的高度,当第二个没有填充和行不对齐时,它看起来非常糟糕。
该死的我觉得很蠢。 rowHeight很有意义! – Kyle 2010-11-18 20:23:47
@Zenox:我一天有五六次感觉。有时答案很明显,你看不到它。 – Robusto 2010-11-18 20:54:06