Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Sep 19, 2023
1 parent f9212f2 commit 7882b13
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 69 deletions.
42 changes: 5 additions & 37 deletions src/main/java/mediathek/gui/dialog/DialogAddDownload.form
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
<Component id="jButtonAbbrechen" linkSize="1" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down Expand Up @@ -120,7 +119,7 @@
<EmptySpace max="-2" attributes="0"/>
<Component id="jTextFieldName" max="32767" attributes="2"/>
</Group>
<Component id="jPanel2" alignment="1" max="32767" attributes="0"/>
<Component id="jPanel2" alignment="1" pref="622" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
Expand Down Expand Up @@ -193,40 +192,9 @@
<AuxValue name="JavaCodeGenerator_VariableModifier" type="java.lang.Integer" value="0"/>
</AuxValues>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="jCheckBoxSubtitle" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="jCheckBoxInfodatei" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="295" max="32767" attributes="0"/>
<Component id="jCheckBoxPfadSpeichern" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jCheckBoxPfadSpeichern" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jCheckBoxInfodatei" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="jCheckBoxSubtitle" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridLayout">
<Property name="columns" type="int" value="2"/>
<Property name="rows" type="int" value="2"/>
</Layout>
<SubComponents>
<Component class="javax.swing.JCheckBox" name="jCheckBoxInfodatei">
Expand Down Expand Up @@ -333,7 +301,7 @@
<Component id="jRadioButtonAufloesungHoch" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="jRadioButtonAufloesungKlein" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="292" max="32767" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Component id="jPanel3" alignment="0" max="32767" attributes="0"/>
</Group>
Expand Down
40 changes: 8 additions & 32 deletions src/main/java/mediathek/gui/dialog/DialogAddDownload.java
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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())
);
Expand Down Expand Up @@ -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});
Expand Down

0 comments on commit 7882b13

Please sign in to comment.