UILabel 换行

来源:互联网 发布:北京seo教程 编辑:程序博客网 时间:2024/06/05 05:20


 

   UILabel *  label= dynamic_cast<UILabel*> (ul->getWidgetByName("xxxx"));

    label->setText(" 123456789 \n 987654321           “);

其实就是“\n ”换行

0 0
原创粉丝点击