@@ -18,9 +18,9 @@ static const unsigned char widget_text_5[] = {0x52, 0x65, 0x70, 0x6f, 0x72, 0x74
1818static const unsigned char widget_text_6 [] = {0xee , 0x83 , 0xaa , 0 };
1919
2020typedef struct {
21- ui_widget_t * ref_0 ;
22- ui_widget_t * ref_1 ;
2321 ui_widget_t * lcui_version ;
22+ ui_widget_t * ref_1 ;
23+ ui_widget_t * ref_2 ;
2424} about_page_refs_t ;
2525
2626typedef struct about_page_react_state {
@@ -53,41 +53,41 @@ static void about_page_load_template(ui_widget_t *parent, about_page_refs_t *ref
5353 w [3 ] = ui_create_widget ("text" );
5454 ui_widget_add_class (w [3 ], "_name_1hw5p_46" );
5555 ui_widget_set_text (w [3 ], (const char * )widget_text_0 );
56+ ui_widget_append (w [1 ], w [2 ]);
57+ ui_widget_append (w [1 ], w [3 ]);
5658 w [4 ] = ui_create_widget (NULL );
5759 ui_widget_add_class (w [4 ], "_item_1hw5p_8" );
5860 w [5 ] = ui_create_widget (NULL );
5961 ui_widget_add_class (w [5 ], "_meta_1hw5p_28" );
6062 w [6 ] = ui_create_widget ("text" );
6163 ui_widget_set_text (w [6 ], (const char * )widget_text_1 );
6264 refs -> lcui_version = ui_create_widget ("text" );
65+ ui_widget_append (w [5 ], w [6 ]);
66+ ui_widget_append (w [5 ], refs -> lcui_version );
6367 w [7 ] = ui_create_widget ("text" );
6468 ui_widget_set_text (w [7 ], (const char * )widget_text_2 );
69+ ui_widget_append (w [4 ], w [5 ]);
70+ ui_widget_append (w [4 ], w [7 ]);
6571 w [8 ] = ui_create_widget ("a" );
6672 ui_widget_add_class (w [8 ], "_item_1hw5p_8" );
6773 ui_widget_set_attr (w [8 ], "href" , "https://github.com/lcui-dev/lcui-quick-start" );
6874 w [9 ] = ui_create_widget ("text" );
6975 ui_widget_set_text (w [9 ], (const char * )widget_text_3 );
70- refs -> ref_0 = ui_create_widget ("text" );
71- ui_widget_add_class (refs -> ref_0 , "fui-icon-regular" );
72- ui_widget_set_text (refs -> ref_0 , (const char * )widget_text_4 );
76+ refs -> ref_1 = ui_create_widget ("text" );
77+ ui_widget_add_class (refs -> ref_1 , "fui-icon-regular" );
78+ ui_widget_set_text (refs -> ref_1 , (const char * )widget_text_4 );
79+ ui_widget_append (w [8 ], w [9 ]);
80+ ui_widget_append (w [8 ], refs -> ref_1 );
7381 w [10 ] = ui_create_widget ("a" );
7482 ui_widget_add_class (w [10 ], "_item_1hw5p_8" );
7583 ui_widget_set_attr (w [10 ], "href" , "https://github.com/lcui-dev/lcui-quick-start/issues" );
7684 w [11 ] = ui_create_widget ("text" );
7785 ui_widget_set_text (w [11 ], (const char * )widget_text_5 );
78- refs -> ref_1 = ui_create_widget ("text" );
79- ui_widget_add_class (refs -> ref_1 , "fui-icon-regular" );
80- ui_widget_set_text (refs -> ref_1 , (const char * )widget_text_6 );
81- ui_widget_append (w [1 ], w [2 ]);
82- ui_widget_append (w [1 ], w [3 ]);
83- ui_widget_append (w [5 ], w [6 ]);
84- ui_widget_append (w [5 ], refs -> lcui_version );
85- ui_widget_append (w [4 ], w [5 ]);
86- ui_widget_append (w [4 ], w [7 ]);
87- ui_widget_append (w [8 ], w [9 ]);
88- ui_widget_append (w [8 ], refs -> ref_0 );
86+ refs -> ref_2 = ui_create_widget ("text" );
87+ ui_widget_add_class (refs -> ref_2 , "fui-icon-regular" );
88+ ui_widget_set_text (refs -> ref_2 , (const char * )widget_text_6 );
8989 ui_widget_append (w [10 ], w [11 ]);
90- ui_widget_append (w [10 ], refs -> ref_1 );
90+ ui_widget_append (w [10 ], refs -> ref_2 );
9191 ui_widget_append (w [0 ], w [1 ]);
9292 ui_widget_append (w [0 ], w [4 ]);
9393 ui_widget_append (w [0 ], w [8 ]);
@@ -98,8 +98,8 @@ static void about_page_load_template(ui_widget_t *parent, about_page_refs_t *ref
9898static void about_page_react_update (ui_widget_t * w )
9999{
100100 about_page_react_t * _that = ui_widget_get_data (w , about_page_proto );
101- ui_widget_set_style_string (_that -> refs .ref_0 , "font-size" , "12px" );
102101 ui_widget_set_style_string (_that -> refs .ref_1 , "font-size" , "12px" );
102+ ui_widget_set_style_string (_that -> refs .ref_2 , "font-size" , "12px" );
103103}
104104
105105static void about_page_react_init (ui_widget_t * w )
0 commit comments