Skip to content

Commit

Permalink
#827: Reduced width of Serial Port group
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 5, 2021
1 parent 3bc4bed commit 0c56da2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/osdep/gui/PanelMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,10 +676,10 @@ void InitPanelMisc(const struct _ConfigCategory& category)

#ifdef SERIAL_PORT
grpSerialDevice->setPosition(DISTANCE_BORDER, posY);
grpSerialDevice->setSize(category.panel->getWidth() - DISTANCE_BORDER * 2, TITLEBAR_HEIGHT + chkSerialDirect->getHeight() * 5);
grpSerialDevice->setSize(cboKBDLed_scr->getX() + cboKBDLed_scr->getWidth(), TITLEBAR_HEIGHT + chkSerialDirect->getHeight() * 5);
grpSerialDevice->setTitleBarHeight(TITLEBAR_HEIGHT);
grpSerialDevice->setBaseColor(gui_baseCol);
txtSerialDevice->setSize(grpSerialDevice->getWidth() - chkSerialDirect->getWidth() - chkRTSCTS->getWidth() - DISTANCE_BORDER * 4, TEXTFIELD_HEIGHT);
txtSerialDevice->setSize(grpSerialDevice->getWidth() - DISTANCE_BORDER * 3, TEXTFIELD_HEIGHT);
txtSerialDevice->setBackgroundColor(colTextboxBackground);
grpSerialDevice->add(txtSerialDevice, DISTANCE_BORDER, DISTANCE_BORDER);
grpSerialDevice->add(chkRTSCTS, DISTANCE_BORDER, DISTANCE_BORDER * 3);
Expand Down

0 comments on commit 0c56da2

Please sign in to comment.