Add left digit padding handling

This commit is contained in:
AloyseTech
2018-11-05 14:48:33 +01:00
parent d5747a0379
commit 2c7b51ca56
2 changed files with 32 additions and 7 deletions

View File

@@ -127,6 +127,12 @@ void lv_spinbox_set_range(const lv_obj_t * spinbox, int32_t range_min, int32_t r
*/
void lv_spinbox_set_value_changed_cb(const lv_obj_t * spinbox, lv_spinbox_value_changed_cb_t cb);
/**
* Set spinbox left padding in digits count (added between sign and first digit)
* @param spinbox pointer to spinbox
* @param cb Callback function called on value change event
*/
void lv_spinbox_set_padding_left(const lv_obj_t * spinbox, uint8_t padding);
/*=====================
* Getter functions