summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
index 0496261f..5e6769e8 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/ContainerUploadPageLayout.java
@@ -42,9 +42,8 @@ public class ContainerUploadPageLayout extends WizardPage {
JPanel imageRepoPanel = new JPanel();
imageRepoPanel.setVisible(true);
- GridManager tmpGrid = new GridManager(imageRepoPanel, 2, true, new Insets(5, 0, 5, 0));
- QLabel lblImageRepo = new QLabel(
- I18n.PAGE_LAYOUT.getString("ContainerUploadPage.DockerFile.label"));
+ GridManager tmpGrid = new GridManager(imageRepoPanel, 2, true, new Insets(0, 5, 0, 5));
+ QLabel lblImageRepo = new QLabel(I18n.PAGE_LAYOUT.getString("ContainerUploadPage.ImageRepo.label"));
lblImageRepo.setToolTipText(
I18n.PAGE_LAYOUT.getString("ContainerUploadPage.ImageRepository.ToolTipText"));
txtImageRepo = new JTextField();
@@ -55,10 +54,9 @@ public class ContainerUploadPageLayout extends WizardPage {
tmpGrid.add(txtImageRepo).fill(true, false).expand(true, false);
tmpGrid.finish(false);
-
JPanel p1 = new JPanel();
p1.setVisible(false);
- GridManager g1 = new GridManager(p1, 3, true, new Insets(5, 0, 5, 0));
+ GridManager g1 = new GridManager(p1, 3, true, new Insets(0, 5, 0, 5));
QLabel imageFileCaption = new QLabel(
I18n.PAGE_LAYOUT.getString("ContainerUploadPage.DockerFile.label"));
txtImageFile = new JTextField();
@@ -72,7 +70,7 @@ public class ContainerUploadPageLayout extends WizardPage {
JPanel p2 = new JPanel();
p2.setVisible(false);
- GridManager g2 = new GridManager(p2, 2, true, new Insets(5, 0, 5, 0));
+ GridManager g2 = new GridManager(p2, 2, true, new Insets(0, 5, 0, 5));
QLabel lblGitRepo = new QLabel(I18n.PAGE_LAYOUT.getString("ContainerUploadPage.GitRepository.label"));
lblGitRepo.setToolTipText(
I18n.PAGE_LAYOUT.getString("ContainerUploadPage.GitRepository.toolTipText"));
@@ -91,6 +89,7 @@ public class ContainerUploadPageLayout extends WizardPage {
tpInput.setSelectedIndex(2);
grid.add(tpInput, 3).fill(true, false);
+ grid.nextRow();
lblImageName = new QLabel(I18n.PANEL.getString("ContainerPanel.Label.ImageName.text"));
txtImageName = new JTextField();
@@ -105,12 +104,11 @@ public class ContainerUploadPageLayout extends WizardPage {
txtContainerImageFile = new JTextField();
txtContainerImageFile.setEnabled(false);
txtContainerImageFile.setToolTipText(
- I18n.PAGE_LAYOUT.getString("ContainerUploadPage.ContainerImageFile.ToolTipText")
- );
+ I18n.PAGE_LAYOUT.getString("ContainerUploadPage.ContainerImageFile.ToolTipText"));
grid.add(lblContainerImageFile);
grid.add(txtContainerImageFile, 2).fill(true, false).expand(true, false);
grid.nextRow();
-
+
grid.add(Box.createVerticalGlue(), 3).expand(true, true);
txtInfoText = new JTextArea();
txtInfoText.setBorder(BorderFactory.createTitledBorder(