make frame inset configurable for ListBox list

develop
myk002 2022-04-22 08:30:53 -07:00
parent 2aa28d34b6
commit 809f9316fd
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 3 additions and 1 deletions

@ -158,6 +158,7 @@ ListBox.ATTRS{
on_select2 = DEFAULT_NIL,
select2_hint = DEFAULT_NIL,
row_height = DEFAULT_NIL,
list_frame_inset = DEFAULT_NIL,
}
function ListBox:preinit(info)
@ -199,6 +200,7 @@ function ListBox:init(info)
end,
on_submit2 = on_submit2,
frame = { l = 0, r = 0},
frame_inset = self.list_frame_inset,
row_height = info.row_height,
}
}