mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
label部件默认不接受点击
This commit is contained in:
@@ -130,6 +130,7 @@ static void Label_OnInit( LCUI_Widget *widget )
|
||||
/* 启用多行文本显示 */
|
||||
TextLayer_SetMultiline( &label->layer, TRUE );
|
||||
Widget_SetAutoSize( widget, FALSE, 0 );
|
||||
Widget_SetClickable( widget, FALSE );
|
||||
/* 启用样式标签的支持 */
|
||||
TextLayer_SetUsingStyleTags( &label->layer, TRUE );
|
||||
/* 将回调函数与自定义消息关联 */
|
||||
|
||||
Reference in New Issue
Block a user