Skip to content

Commit

Permalink
fix(gui): in settings row reduce space between description and value
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Oct 22, 2024
1 parent 32855f4 commit 3788e4e
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions jadx-gui/src/main/java/jadx/gui/settings/ui/SettingsGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
import jadx.api.plugins.gui.ISettingsGroup;

public class SettingsGroup implements ISettingsGroup {
private static final long serialVersionUID = -6487309975896192544L;

private final String title;
private final JPanel panel;
private final JPanel gridPanel;
Expand Down Expand Up @@ -48,14 +46,14 @@ public JLabel addRow(String label, String tooltip, JComponent comp) {
c.gridx = 0;
c.gridwidth = 1;
c.anchor = GridBagConstraints.LINE_START;
c.weightx = 0.8;
c.fill = GridBagConstraints.NONE;
c.weightx = 0.1;
c.fill = GridBagConstraints.LINE_START;
gridPanel.add(rowLbl, c);
c.gridx = 1;
c.gridwidth = GridBagConstraints.REMAINDER;
c.anchor = GridBagConstraints.CENTER;
c.weightx = 0.2;
c.fill = GridBagConstraints.HORIZONTAL;
c.anchor = GridBagConstraints.LINE_START;
c.weightx = 0.7;
c.fill = GridBagConstraints.LINE_START;

if (tooltip != null) {
rowLbl.setToolTipText(tooltip);
Expand Down

0 comments on commit 3788e4e

Please sign in to comment.