Adjusting the height of keyboard button


How to change height of keyboard button. I am able to change the width, however, not able to change the height.

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

Texas DSP F28335 with CCS v10

What LVGL version are you using?


What do you want to achieve?

Want to control the height of keyboard button. (image attched)

What have you tried so far?

I have tried styling the keyboard object. Code lines added below.

Code to reproduce

lv_obj_t * kb = lv_keyboard_create(lv_scr_act());

These are code lines that I used alternatively with the object. However, nothing happened.

    lv_obj_set_style_pad_row(kb, 10, LV_PART_ITEMS);
    lv_obj_set_style_pad_column(kb, 10, LV_PART_ITEMS);
    lv_obj_set_style_pad_row(kb, 10, 0);
    lv_obj_set_style_pad_column(kb, 10, 0);
    lv_obj_set_style_transform_height(kb, 10, LV_PART_ITEMS);
    lv_obj_set_style_transform_height(kb, 10, 0);

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.