Fixed GUI layout (Edit Filesystem/Hardfile dialogs)
This commit is contained in:
parent
d0555567e7
commit
c99554184f
2 changed files with 0 additions and 12 deletions
|
@ -245,7 +245,6 @@ static void InitEditFilesysHardfile()
|
||||||
cmdCancel->addActionListener(filesysHardfileActionListener);
|
cmdCancel->addActionListener(filesysHardfileActionListener);
|
||||||
|
|
||||||
lblDevice = new gcn::Label("Device Name:");
|
lblDevice = new gcn::Label("Device Name:");
|
||||||
lblDevice->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblDevice->setAlignment(gcn::Graphics::RIGHT);
|
lblDevice->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtDevice = new gcn::TextField();
|
txtDevice = new gcn::TextField();
|
||||||
txtDevice->setSize(60, TEXTFIELD_HEIGHT);
|
txtDevice->setSize(60, TEXTFIELD_HEIGHT);
|
||||||
|
@ -258,42 +257,36 @@ static void InitEditFilesysHardfile()
|
||||||
chkAutoboot->setId("hdfAutoboot");
|
chkAutoboot->setId("hdfAutoboot");
|
||||||
|
|
||||||
lblBootPri = new gcn::Label("Boot priority:");
|
lblBootPri = new gcn::Label("Boot priority:");
|
||||||
lblBootPri->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblBootPri->setAlignment(gcn::Graphics::RIGHT);
|
lblBootPri->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtBootPri = new gcn::TextField();
|
txtBootPri = new gcn::TextField();
|
||||||
txtBootPri->setSize(40, TEXTFIELD_HEIGHT);
|
txtBootPri->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
txtBootPri->setId("hdfBootPri");
|
txtBootPri->setId("hdfBootPri");
|
||||||
|
|
||||||
lblSurfaces = new gcn::Label("Surfaces:");
|
lblSurfaces = new gcn::Label("Surfaces:");
|
||||||
lblSurfaces->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblSurfaces->setAlignment(gcn::Graphics::RIGHT);
|
lblSurfaces->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtSurfaces = new gcn::TextField();
|
txtSurfaces = new gcn::TextField();
|
||||||
txtSurfaces->setSize(40, TEXTFIELD_HEIGHT);
|
txtSurfaces->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
txtSurfaces->setId("hdfSurface");
|
txtSurfaces->setId("hdfSurface");
|
||||||
|
|
||||||
lblReserved = new gcn::Label("Reserved:");
|
lblReserved = new gcn::Label("Reserved:");
|
||||||
lblReserved->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblReserved->setAlignment(gcn::Graphics::RIGHT);
|
lblReserved->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtReserved = new gcn::TextField();
|
txtReserved = new gcn::TextField();
|
||||||
txtReserved->setSize(40, TEXTFIELD_HEIGHT);
|
txtReserved->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
txtReserved->setId("hdfReserved");
|
txtReserved->setId("hdfReserved");
|
||||||
|
|
||||||
lblSectors = new gcn::Label("Sectors:");
|
lblSectors = new gcn::Label("Sectors:");
|
||||||
lblSectors->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblSectors->setAlignment(gcn::Graphics::RIGHT);
|
lblSectors->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtSectors = new gcn::TextField();
|
txtSectors = new gcn::TextField();
|
||||||
txtSectors->setSize(40, TEXTFIELD_HEIGHT);
|
txtSectors->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
txtSectors->setId("hdfSectors");
|
txtSectors->setId("hdfSectors");
|
||||||
|
|
||||||
lblBlocksize = new gcn::Label("Blocksize:");
|
lblBlocksize = new gcn::Label("Blocksize:");
|
||||||
lblBlocksize->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblBlocksize->setAlignment(gcn::Graphics::RIGHT);
|
lblBlocksize->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtBlocksize = new gcn::TextField();
|
txtBlocksize = new gcn::TextField();
|
||||||
txtBlocksize->setSize(40, TEXTFIELD_HEIGHT);
|
txtBlocksize->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
txtBlocksize->setId("hdfBlocksize");
|
txtBlocksize->setId("hdfBlocksize");
|
||||||
|
|
||||||
lblPath = new gcn::Label("Path:");
|
lblPath = new gcn::Label("Path:");
|
||||||
lblPath->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblPath->setAlignment(gcn::Graphics::RIGHT);
|
lblPath->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtPath = new gcn::TextField();
|
txtPath = new gcn::TextField();
|
||||||
txtPath->setSize(338, TEXTFIELD_HEIGHT);
|
txtPath->setSize(338, TEXTFIELD_HEIGHT);
|
||||||
|
@ -305,7 +298,6 @@ static void InitEditFilesysHardfile()
|
||||||
cmdPath->addActionListener(filesysHardfileActionListener);
|
cmdPath->addActionListener(filesysHardfileActionListener);
|
||||||
|
|
||||||
lblController = new gcn::Label("Controller:");
|
lblController = new gcn::Label("Controller:");
|
||||||
lblController->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblController->setAlignment(gcn::Graphics::RIGHT);
|
lblController->setAlignment(gcn::Graphics::RIGHT);
|
||||||
cboController = new gcn::UaeDropDown(&controllerListModel);
|
cboController = new gcn::UaeDropDown(&controllerListModel);
|
||||||
cboController->setSize(180, DROPDOWN_HEIGHT);
|
cboController->setSize(180, DROPDOWN_HEIGHT);
|
||||||
|
|
|
@ -128,21 +128,18 @@ static void InitEditFilesysVirtual()
|
||||||
cmdCancel->addActionListener(filesysVirtualActionListener);
|
cmdCancel->addActionListener(filesysVirtualActionListener);
|
||||||
|
|
||||||
lblDevice = new gcn::Label("Device Name:");
|
lblDevice = new gcn::Label("Device Name:");
|
||||||
lblDevice->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblDevice->setAlignment(gcn::Graphics::RIGHT);
|
lblDevice->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtDevice = new gcn::TextField();
|
txtDevice = new gcn::TextField();
|
||||||
txtDevice->setSize(60, TEXTFIELD_HEIGHT);
|
txtDevice->setSize(60, TEXTFIELD_HEIGHT);
|
||||||
txtDevice->setId("virtDev");
|
txtDevice->setId("virtDev");
|
||||||
|
|
||||||
lblVolume = new gcn::Label("Volume Label:");
|
lblVolume = new gcn::Label("Volume Label:");
|
||||||
lblVolume->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblVolume->setAlignment(gcn::Graphics::RIGHT);
|
lblVolume->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtVolume = new gcn::TextField();
|
txtVolume = new gcn::TextField();
|
||||||
txtVolume->setSize(60, TEXTFIELD_HEIGHT);
|
txtVolume->setSize(60, TEXTFIELD_HEIGHT);
|
||||||
txtVolume->setId("virtVol");
|
txtVolume->setId("virtVol");
|
||||||
|
|
||||||
lblPath = new gcn::Label("Path:");
|
lblPath = new gcn::Label("Path:");
|
||||||
lblPath->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblPath->setAlignment(gcn::Graphics::RIGHT);
|
lblPath->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtPath = new gcn::TextField();
|
txtPath = new gcn::TextField();
|
||||||
txtPath->setSize(338, TEXTFIELD_HEIGHT);
|
txtPath->setSize(338, TEXTFIELD_HEIGHT);
|
||||||
|
@ -160,7 +157,6 @@ static void InitEditFilesysVirtual()
|
||||||
chkAutoboot->setId("virtAutoboot");
|
chkAutoboot->setId("virtAutoboot");
|
||||||
|
|
||||||
lblBootPri = new gcn::Label("Boot priority:");
|
lblBootPri = new gcn::Label("Boot priority:");
|
||||||
lblBootPri->setSize(100, LABEL_HEIGHT);
|
|
||||||
lblBootPri->setAlignment(gcn::Graphics::RIGHT);
|
lblBootPri->setAlignment(gcn::Graphics::RIGHT);
|
||||||
txtBootPri = new gcn::TextField();
|
txtBootPri = new gcn::TextField();
|
||||||
txtBootPri->setSize(40, TEXTFIELD_HEIGHT);
|
txtBootPri->setSize(40, TEXTFIELD_HEIGHT);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue