Skip to content

Commit

Permalink
chore(color): use padding values for flight mode button matrix layout (
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Aug 2, 2024
1 parent 02d851c commit 5e83225
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/gui/colorlcd/controls/fm_matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ FMMatrix<T>::FMMatrix(Window* parent, const rect_t& r, T* input) :

update();

lv_obj_set_width(lvobj, FM_COLS * (FM_BTN_W + 3) + 3);
lv_obj_set_height(lvobj, FM_ROWS * (EdgeTxStyles::UI_ELEMENT_HEIGHT + 3) +3);
lv_obj_set_width(lvobj, FM_COLS * (FM_BTN_W + PAD_TINY) + PAD_TINY);
lv_obj_set_height(lvobj, FM_ROWS * (EdgeTxStyles::UI_ELEMENT_HEIGHT + PAD_TINY) + PAD_TINY);

padAll(PAD_SMALL);
}
Expand Down

0 comments on commit 5e83225

Please sign in to comment.