Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions radio/src/gui/colorlcd/model/model_usbjoystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ class USBChannelEditWindow : public Page
buildBody(body);
}

static LAYOUT_SIZE_SCALED(USBCH_EDIT_STATUS_BAR_WIDTH, 250, 160)
static LAYOUT_SIZE(USBCH_EDIT_RIGHT_MARGIN, 0, 3)
static LAYOUT_SIZE_SCALED(USBCH_EDIT_STATUS_BAR_WIDTH, 250, 120)
static LAYOUT_SIZE(USBCH_COLS, 4, 2)

protected:
Expand Down Expand Up @@ -277,8 +276,8 @@ class USBChannelEditWindow : public Page

statusBar = new USBChannelEditStatusBar(
window,
{window->getRect().w - USBCH_EDIT_STATUS_BAR_WIDTH -
USBCH_EDIT_RIGHT_MARGIN,
{window->getRect().w - USBCH_EDIT_STATUS_BAR_WIDTH - PAD_TINY -
PageGroup::PAGE_GROUP_BACK_BTN_XO,
0, USBCH_EDIT_STATUS_BAR_WIDTH, EdgeTxStyles::MENU_HEADER_HEIGHT},
channel);
}
Expand Down