fix(color): channel bars overlap close button in joystick channel edit window (#7694)
This commit is contained in:
@@ -220,8 +220,7 @@ class USBChannelEditWindow : public Page
|
|||||||
buildBody(body);
|
buildBody(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
static LAYOUT_SIZE_SCALED(USBCH_EDIT_STATUS_BAR_WIDTH, 250, 160)
|
static LAYOUT_SIZE_SCALED(USBCH_EDIT_STATUS_BAR_WIDTH, 250, 120)
|
||||||
static LAYOUT_SIZE(USBCH_EDIT_RIGHT_MARGIN, 0, 3)
|
|
||||||
static LAYOUT_SIZE(USBCH_COLS, 4, 2)
|
static LAYOUT_SIZE(USBCH_COLS, 4, 2)
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -277,8 +276,8 @@ class USBChannelEditWindow : public Page
|
|||||||
|
|
||||||
statusBar = new USBChannelEditStatusBar(
|
statusBar = new USBChannelEditStatusBar(
|
||||||
window,
|
window,
|
||||||
{window->getRect().w - USBCH_EDIT_STATUS_BAR_WIDTH -
|
{window->getRect().w - USBCH_EDIT_STATUS_BAR_WIDTH - PAD_TINY -
|
||||||
USBCH_EDIT_RIGHT_MARGIN,
|
PageGroup::PAGE_GROUP_BACK_BTN_XO,
|
||||||
0, USBCH_EDIT_STATUS_BAR_WIDTH, EdgeTxStyles::MENU_HEADER_HEIGHT},
|
0, USBCH_EDIT_STATUS_BAR_WIDTH, EdgeTxStyles::MENU_HEADER_HEIGHT},
|
||||||
channel);
|
channel);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user