Flash 单元渲染器单单元高度
如何更改单个单元格的高度Flash 单元渲染器单单元高度,flash,actionscript-3,datagrid,cellrenderer,Flash,Actionscript 3,Datagrid,Cellrenderer,如何更改单个单元格的高度 override protected function drawLayout():void { textField.width = this.width; height = 64; textField.height = height; textField.setTextFormat(tf); super.drawLayout(); } 如何让dataGrad调整整行的大小?我使用的高度是64。但是它是动态的。您的数据网格上是否
override protected function drawLayout():void {
textField.width = this.width;
height = 64;
textField.height = height;
textField.setTextFormat(tf);
super.drawLayout();
}
如何让dataGrad调整整行的大小?我使用的高度是64。但是它是动态的。您的数据网格上是否设置了
variableRowHeight=true
属性?variableRowHeight
在AS3中不可用,即使您使用setStyle
功能也不可用<代码>myDataGrid.setStyle(“variableRowHeight”,true)代码>