Make labels behave more like other objects

This commit is contained in:
fvanroie 2021-01-02 16:07:20 +01:00
parent d70f07ec43
commit 5d794d16dc

View File

@ -565,6 +565,9 @@ void hasp_new_object(const JsonObject & config, uint8_t & saved_page_id)
case LV_HASP_LABEL: {
obj = lv_label_create(parent_obj, NULL);
if(obj) {
lv_label_set_long_mode(obj, LV_LABEL_LONG_CROP);
}
/* click area padding */
// uint8_t padh = config[F("padh")].as<uint8_t>();
// uint8_t padv = config[F("padv")].as<uint8_t>();