Skip to content

Commit

Permalink
added descriptions for some checks, will add to those missing
Browse files Browse the repository at this point in the history
  • Loading branch information
rhit-shirakrk committed May 14, 2024
1 parent 19a3776 commit ab6b363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/datasource/configspec/ConfigSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ public String getCheckName() {
return this.checkName;
}

public String getDescName() {
this.validateRepresentsCheck();
public String getDesc() {
return this.desc;
}

Expand Down
2 changes: 2 additions & 0 deletions src/main/java/gui/SettingsWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ private JPanel initInnerPanel() {

private JLabel initTitleLabel(JPanel innerPanel, ConfigSpec.Section section) {
JLabel titleLabel = GuiUtil.createHeading(section.title);
JLabel descLabel = new JLabel(section.getDesc());
innerPanel.add(titleLabel);
innerPanel.add(descLabel);
innerPanel.add(Box.createVerticalStrut(GuiUtil.PAD));
return titleLabel;
}
Expand Down

0 comments on commit ab6b363

Please sign in to comment.