Various improvements (#204)
- Fixed crash in logging app when not selecting filter - Cleanup of unused code - Cleanup of app code
This commit is contained in:
committed by
GitHub
parent
5ec96f60f1
commit
68e34ca740
@@ -13,15 +13,8 @@ void obj_set_style_bg_invisible(lv_obj_t* obj) {
|
||||
}
|
||||
|
||||
void obj_set_style_no_padding(lv_obj_t* obj) {
|
||||
lv_obj_set_style_pad_all(obj, LV_STATE_DEFAULT, 0);
|
||||
lv_obj_set_style_pad_gap(obj, LV_STATE_DEFAULT, 0);
|
||||
}
|
||||
|
||||
void obj_set_style_auto_padding(lv_obj_t* obj) {
|
||||
lv_obj_set_style_pad_top(obj, 8, 0);
|
||||
lv_obj_set_style_pad_bottom(obj, 8, 0);
|
||||
lv_obj_set_style_pad_left(obj, 16, 0);
|
||||
lv_obj_set_style_pad_right(obj, 16, 0);
|
||||
lv_obj_set_style_pad_all(obj, 0, 0);
|
||||
lv_obj_set_style_pad_gap(obj, 0, 0);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user