Fixed GUI layout (ROM)

This commit is contained in:
Dimitris Panokostas 2017-12-15 13:50:31 +01:00
parent c82a4d6dcb
commit 601663fbf1

View file

@ -226,7 +226,6 @@ void InitPanelROM(const struct _ConfigCategory& category)
#endif #endif
lblMainROM = new gcn::Label("Main ROM File:"); lblMainROM = new gcn::Label("Main ROM File:");
lblMainROM->setSize(120, LABEL_HEIGHT);
cboMainROM = new gcn::UaeDropDown(mainROMList); cboMainROM = new gcn::UaeDropDown(mainROMList);
cboMainROM->setSize(textFieldWidth, DROPDOWN_HEIGHT); cboMainROM->setSize(textFieldWidth, DROPDOWN_HEIGHT);
cboMainROM->setBaseColor(gui_baseCol); cboMainROM->setBaseColor(gui_baseCol);
@ -240,7 +239,6 @@ void InitPanelROM(const struct _ConfigCategory& category)
cmdMainROM->addActionListener(romButtonActionListener); cmdMainROM->addActionListener(romButtonActionListener);
lblExtROM = new gcn::Label("Extended ROM File:"); lblExtROM = new gcn::Label("Extended ROM File:");
lblExtROM->setSize(120, LABEL_HEIGHT);
cboExtROM = new gcn::UaeDropDown(extROMList); cboExtROM = new gcn::UaeDropDown(extROMList);
cboExtROM->setSize(textFieldWidth, DROPDOWN_HEIGHT); cboExtROM->setSize(textFieldWidth, DROPDOWN_HEIGHT);
cboExtROM->setBaseColor(gui_baseCol); cboExtROM->setBaseColor(gui_baseCol);
@ -255,10 +253,10 @@ void InitPanelROM(const struct _ConfigCategory& category)
#ifdef ACTION_REPLAY #ifdef ACTION_REPLAY
lblCartROM = new gcn::Label("Cartridge ROM File:"); lblCartROM = new gcn::Label("Cartridge ROM File:");
lblCartROM->setSize(200, LABEL_HEIGHT);
cboCartROM = new gcn::UaeDropDown(cartROMList); cboCartROM = new gcn::UaeDropDown(cartROMList);
cboCartROM->setSize(400, DROPDOWN_HEIGHT); cboCartROM->setSize(textFieldWidth, DROPDOWN_HEIGHT);
cboCartROM->setBaseColor(gui_baseCol); cboCartROM->setBaseColor(gui_baseCol);
cboCartROM->setBackgroundColor(colTextboxBackground);
cboCartROM->setId("cboCartROM"); cboCartROM->setId("cboCartROM");
cboCartROM->addActionListener(cartROMActionListener); cboCartROM->addActionListener(cartROMActionListener);
cmdCartROM = new gcn::Button("..."); cmdCartROM = new gcn::Button("...");