Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想更改某些行的行高。我们该怎么做?你能给我一些指导吗?
要将行高设置为固定值,例如将特定行的高度加倍,请使用DataLayerAPI。
DataLayer
dataLayer.setRowHeightByPosition(0, 40);
如果应自动设置行高以匹配内容,请TextPainter使用适当的构造函数配置行高计算。
TextPainter