LV6.1 Spinbox show only positive values bug

Description

When spanbox object show only positive values the cursor position is wrong like below picture.

What MCU/Processor/Board and compiler are you using?

MCU:STM32F303 Compiler:MDK5

What do you experience?

I tried some methods but couldn’t fix it.

What do you expect?

when hide sign the cusor can work well.

Code to reproduce

Use the ```c and ``` tags to format your code:

	lv_obj_t * set_current = lv_spinbox_create(lv_scr_act(), NULL);
	lv_spinbox_set_digit_format(set_current, 4, 1);
	lv_spinbox_set_range(set_current,1,3000);
	lv_obj_set_pos(set_current,0,100);
	lv_spinbox_set_style(set_current, LV_SPINBOX_STYLE_BG, &main_style);
	lv_group_add_obj(power_group,set_current);

Screenshot and/or video

image
image

Hi,

It should be solved in this Pull request:

Was it you who sent it or is it just a lucky coincidence?

wow!not me!is a lucky coincidence! Thanks for help!