fix: add missing init params in lv_numberedit_class to please old GCC

This commit is contained in:
Raphael Coeffic
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent bc7f9f6f09
commit 6d7c8ed059
+2
View File
@@ -59,9 +59,11 @@ const lv_obj_class_t lv_numberedit_class = {
.base_class = &lv_obj_class,
.constructor_cb = lv_textarea_class.constructor_cb,
.destructor_cb = lv_textarea_class.destructor_cb,
.user_data = nullptr,
.event_cb = lv_textarea_class.event_cb,
.width_def = LV_DPI_DEF / 2,
.height_def = LV_SIZE_CONTENT,
.editable = LV_OBJ_CLASS_EDITABLE_TRUE,
.group_def = LV_OBJ_CLASS_GROUP_DEF_TRUE,
.instance_size = sizeof(lv_textarea_t)
};