diff --git a/src/main/java/mediathek/gui/dialog/DialogAddDownload.form b/src/main/java/mediathek/gui/dialog/DialogAddDownload.form index f4ee206a80..ce27f39aff 100644 --- a/src/main/java/mediathek/gui/dialog/DialogAddDownload.form +++ b/src/main/java/mediathek/gui/dialog/DialogAddDownload.form @@ -49,7 +49,6 @@ - @@ -120,7 +119,7 @@ - + @@ -193,40 +192,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -333,7 +301,7 @@ - + diff --git a/src/main/java/mediathek/gui/dialog/DialogAddDownload.java b/src/main/java/mediathek/gui/dialog/DialogAddDownload.java index 556b41d812..0b08e1fa0e 100644 --- a/src/main/java/mediathek/gui/dialog/DialogAddDownload.java +++ b/src/main/java/mediathek/gui/dialog/DialogAddDownload.java @@ -764,40 +764,17 @@ private void initComponents() { jLabelSet.setText("Set:"); + jPanel2.setLayout(new java.awt.GridLayout(2, 2)); + jCheckBoxInfodatei.setText("Lege Infodatei an"); jCheckBoxInfodatei.setToolTipText("Erzeugt eine Infodatei im Format \"Infodatei.txt\""); + jPanel2.add(jCheckBoxInfodatei); jCheckBoxPfadSpeichern.setText("Zielpfad speichern"); + jPanel2.add(jCheckBoxPfadSpeichern); jCheckBoxSubtitle.setText("Untertitel speichern: \"Filmname.xxx\""); - - javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); - jPanel2.setLayout(jPanel2Layout); - jPanel2Layout.setHorizontalGroup( - jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(jPanel2Layout.createSequentialGroup() - .addContainerGap() - .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(jPanel2Layout.createSequentialGroup() - .addComponent(jCheckBoxSubtitle) - .addGap(0, 0, Short.MAX_VALUE)) - .addGroup(jPanel2Layout.createSequentialGroup() - .addComponent(jCheckBoxInfodatei) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 295, Short.MAX_VALUE) - .addComponent(jCheckBoxPfadSpeichern))) - .addContainerGap()) - ); - jPanel2Layout.setVerticalGroup( - jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) - .addGroup(jPanel2Layout.createSequentialGroup() - .addContainerGap() - .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) - .addComponent(jCheckBoxPfadSpeichern) - .addComponent(jCheckBoxInfodatei)) - .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) - .addComponent(jCheckBoxSubtitle) - .addContainerGap()) - ); + jPanel2.add(jCheckBoxSubtitle); jPanel4.setLayout(new javax.swing.BoxLayout(jPanel4, javax.swing.BoxLayout.LINE_AXIS)); @@ -833,7 +810,7 @@ private void initComponents() { .addComponent(jLabel4) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(jTextFieldName)) - .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 622, Short.MAX_VALUE)) .addContainerGap()) ); jPanel1Layout.setVerticalGroup( @@ -889,7 +866,7 @@ private void initComponents() { .addComponent(jRadioButtonAufloesungHoch) .addGap(18, 18, 18) .addComponent(jRadioButtonAufloesungKlein) - .addGap(0, 292, Short.MAX_VALUE)) + .addGap(0, 0, Short.MAX_VALUE)) .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addContainerGap()) ); @@ -926,8 +903,7 @@ private void initComponents() { .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jButtonOk, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) - .addComponent(jButtonAbbrechen))) - .addContainerGap()) + .addComponent(jButtonAbbrechen)))) ); layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jButtonAbbrechen, jButtonOk});