Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GUI #380

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -257,7 +257,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 @@ -139,7 +139,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 @@ -182,7 +182,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 @@ -203,7 +203,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