最新文章:Virson's Blog
1 var label:Label = new Label(); 2 label.id = "test1"; 3 label.text = "测试"; 4 label.width = 100; 5 label.height = 23; 6 label.maxDisplayedLines = -1; //根据现有Label的Height属性截取字符串 7 label.toolTip = "测试"; //显示提示
最新文章:Virson's Blog
1 var label:Label = new Label(); 2 label.id = "test1"; 3 label.text = "测试"; 4 label.width = 100; 5 label.height = 23; 6 label.maxDisplayedLines = -1; //根据现有Label的Height属性截取字符串 7 label.toolTip = "测试"; //显示提示