Skip to content

Commit

Permalink
Merge pull request #380 from veraPDF/gui_improvements
Browse files Browse the repository at this point in the history
Update GUI
  • Loading branch information
MaximPlusov authored and Git User committed Sep 27, 2023
1 parent 8f31f6d commit c0b41f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion gui/src/main/java/org/verapdf/gui/CheckerPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ private void setupChosenPDFField(final GridBagLayout gbl, final GridBagConstrain
GUIConstants.CHOSEN_PDF_LABEL_CONSTRAINT_WEIGHT_Y, GUIConstants.CHOSEN_PDF_LABEL_CONSTRAINT_GRID_WIDTH,
GUIConstants.CHOSEN_PDF_LABEL_CONSTRAINT_GRID_HEIGHT, GridBagConstraints.HORIZONTAL);
gbl.setConstraints(this.chosenPDF, gbc);
gbc.fill = GridBagConstraints.HORIZONTAL;
this.add(this.chosenPDF);

PanelDropTargetListener dtdPDFListener = new PanelDropTargetListener(-1,
Expand Down
2 changes: 1 addition & 1 deletion gui/src/main/java/org/verapdf/gui/SettingsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void keyReleased(KeyEvent e) {
availableLoggingLevels.add(GUIConstants.WARNING_LEVEL);
availableLoggingLevels.add(GUIConstants.CONFIG_LEVEL);
availableLoggingLevels.add(GUIConstants.ALL_LEVEL);
for (int i = 0; i < availableLoggingLevels.size(); ++i){
for (int i = 0; i < availableLoggingLevels.size(); ++i) {
LOGGING_LEVELS_MAP.put(availableLoggingLevels.get(i), i);
}
this.chooseLoggingLevel = new JComboBox<>(availableLoggingLevels);
Expand Down
6 changes: 3 additions & 3 deletions gui/src/main/java/org/verapdf/gui/utils/GUIConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public final class GUIConstants {
public static final int EMPTY_BORDER_INSETS = 5;
public static final int FRAME_COORD_X = 100;
public static final int FRAME_COORD_Y = 100;
public static final int FRAME_WIDTH = 710;
public static final int FRAME_WIDTH = 800;
public static final int FRAME_HEIGHT = 370;

public static final int BORDER_WIDTH = 4;
Expand Down Expand Up @@ -185,7 +185,7 @@ public final class GUIConstants {

public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_GRID_X = 1;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_GRID_Y = 1;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_WEIGHT_X = 0;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_WEIGHT_X = 1;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_WEIGHT_Y = 1;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_GRID_WIDTH = 1;
public static final int PROCESSING_TYPE_COMBOBOX_CONSTRAINT_GRID_HEIGHT = 1;
Expand All @@ -206,7 +206,7 @@ public final class GUIConstants {

public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_GRID_X = 3;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_GRID_Y = 1;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_WEIGHT_X = 0;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_WEIGHT_X = 1;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_WEIGHT_Y = 1;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_GRID_WIDTH = 1;
public static final int CHOOSE_FLAVOUR_COMBOBOX_CONSTRAINT_GRID_HEIGHT = 1;
Expand Down
2 changes: 1 addition & 1 deletion installer/src/main/izpack/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</authors>
</info>

<guiprefs height="400" resizable="no" width="640">
<guiprefs height="450" resizable="no" width="640">
<modifier key="useButtonIcons" value="yes"/>
<modifier key="useLabelIcons" value="no"/>
<modifier key="labelGap" value="2"/>
Expand Down

0 comments on commit c0b41f4

Please sign in to comment.