Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88851

怎么显示多行文字,,oerflow设置多个模式都不行

$
0
0

@304486632 写道:

var labe=labelnode.addComponent(cc.Label);
labe.width = 100;
labe.height =100;
console.log(labe.overflow);
labe.overflow = 2;
labe.enableWrapText = true ;
console.log(labe.overflow,labe.width);
self.tblabel.addChild(labelnode);
labe.string = "sadasdsd水电费水电费水电费水电费水电费低首付水电费水电费水电费时代水电费水电费水电费水电费水电费水电费水电费水电费根深蒂固当时发生的发生的";

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>