Skip to content

Commit

Permalink
Replace DynamicGridLayout use in QuestStepPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Sep 20, 2023
1 parent 4976f68 commit aca298a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/questhelper/panel/QuestStepPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import net.runelite.client.ui.ColorScheme;
import javax.swing.*;
import javax.swing.border.EmptyBorder;
import net.runelite.client.ui.DynamicGridLayout;
import net.runelite.client.ui.FontManager;
import net.runelite.client.util.SwingUtil;

Expand Down Expand Up @@ -181,7 +180,7 @@ public void addRequirements(String text, List<Requirement> reqs, String borderLa
questRequirementsHeader.add(questReqsTitle, BorderLayout.NORTH);

JPanel questRequirementsListPanel = new JPanel();
questRequirementsListPanel.setLayout(new DynamicGridLayout(0, 1, 0, 1));
questRequirementsListPanel.setLayout(new DynamicPaddedGridLayout(0, 1, 0, 1));
questRequirementsListPanel.setBorder(new EmptyBorder(5, 5, 5, 5));


Expand Down

0 comments on commit aca298a

Please sign in to comment.