form field: add SCROLL_ON_FOCUS
Fixes issue with choices not triggering scroll on focus.
This commit is contained in:
committed by
Raphael Coeffic
parent
a7ee9d3a81
commit
4ecedab3c8
+1
@@ -28,6 +28,7 @@ FormField::FormField(Window* parent, const rect_t& rect,
|
||||
LvglCreate objConstruct) :
|
||||
Window(parent, rect, windowFlags, textFlags, objConstruct)
|
||||
{
|
||||
lv_obj_add_flag(lvobj, LV_OBJ_FLAG_SCROLL_ON_FOCUS);
|
||||
}
|
||||
|
||||
void FormField::setEditMode(bool newEditMode)
|
||||
|
||||
-2
@@ -84,8 +84,6 @@ class FormGroup : public Window
|
||||
class Line : public Window
|
||||
{
|
||||
FlexGridLayout *layout;
|
||||
FormGroup *group;
|
||||
|
||||
void construct();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user