small fixes and size adjustments
This commit is contained in:
committed by
Raphael Coeffic
parent
49f8a3752c
commit
209b253064
@@ -209,9 +209,6 @@ static lv_style_t numberedit_style_cursor_edit;
|
||||
|
||||
static lv_style_t focus_key_style;
|
||||
|
||||
|
||||
extern lv_obj_class_t lv_numberedit_class;
|
||||
|
||||
static void theme_apply_cb(lv_theme_t * th, lv_obj_t * obj)
|
||||
{
|
||||
LV_UNUSED(th);
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
#define SET_DIRTY() storageDirty(EE_MODEL)
|
||||
|
||||
static const lv_coord_t line_col_dsc[] = {LV_GRID_FR(1), LV_GRID_FR(2),
|
||||
static const lv_coord_t line_col_dsc[] = {LV_GRID_FR(1), LV_GRID_FR(1),
|
||||
LV_GRID_TEMPLATE_LAST};
|
||||
static const lv_coord_t line_row_dsc[] = {LV_GRID_CONTENT,
|
||||
LV_GRID_TEMPLATE_LAST};
|
||||
|
||||
@@ -34,7 +34,7 @@ static const rect_t widgetSettingsDialogRect = {
|
||||
LCD_H - 2 * LCD_H / 5 // height
|
||||
};
|
||||
|
||||
static const lv_coord_t line_col_dsc[] = {LV_GRID_FR(1), LV_GRID_FR(2),
|
||||
static const lv_coord_t line_col_dsc[] = {LV_GRID_FR(1), LV_GRID_FR(1),
|
||||
LV_GRID_TEMPLATE_LAST};
|
||||
static const lv_coord_t line_row_dsc[] = {LV_GRID_CONTENT,
|
||||
LV_GRID_TEMPLATE_LAST};
|
||||
|
||||
@@ -121,9 +121,7 @@ constexpr coord_t INPUT_EDIT_CURVE_LEFT = 0;
|
||||
constexpr coord_t INPUT_EDIT_CURVE_TOP = MENU_HEADER_HEIGHT;
|
||||
constexpr coord_t MENUS_LINE_HEIGHT = 40;
|
||||
constexpr coord_t MENUS_WIDTH = 200;
|
||||
constexpr coord_t MENUS_OFFSET_TOP = 20;
|
||||
constexpr coord_t POPUP_HEADER_HEIGHT = 30;
|
||||
constexpr coord_t MENUS_MIN_HEIGHT = 2 * MENUS_LINE_HEIGHT - 1;
|
||||
constexpr coord_t MENUS_MAX_HEIGHT = 7 * MENUS_LINE_HEIGHT - 1;
|
||||
|
||||
constexpr rect_t MENUS_TOOLBAR_RECT = { 35, (LCD_H - MENUS_MAX_HEIGHT) / 2, 50, MENUS_MAX_HEIGHT };
|
||||
|
||||
@@ -47,6 +47,7 @@ bool simu_running = false;
|
||||
|
||||
uint32_t telemetryErrors = 0;
|
||||
|
||||
typedef int32_t rotenc_t;
|
||||
volatile rotenc_t rotencValue = 0;
|
||||
|
||||
// TODO: remove all STM32 defs
|
||||
|
||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 4d7e32a35b...8006408c7a
Reference in New Issue
Block a user