diff --git a/gui/proxy-tool/src/main/kotlin/net/rsprox/gui/FiltersSidePanel.kt b/gui/proxy-tool/src/main/kotlin/net/rsprox/gui/FiltersSidePanel.kt index ccf1ebd2..a023d3cf 100644 --- a/gui/proxy-tool/src/main/kotlin/net/rsprox/gui/FiltersSidePanel.kt +++ b/gui/proxy-tool/src/main/kotlin/net/rsprox/gui/FiltersSidePanel.kt @@ -186,7 +186,7 @@ public class FiltersSidePanel( val tabbedGroup = FlatTabbedPane() tabbedGroup.addTab("Incoming", incomingPanel.wrapWithBorderlessScrollPane()) tabbedGroup.addTab("Outgoing", outgoingPanel.wrapWithBorderlessScrollPane()) - tabbedGroup.addTab("Regex", regexPanel.wrapWithBorderlessScrollPane(verticalPolicy = ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED)) + tabbedGroup.addTab("Regex", regexPanel.wrapWithBorderlessScrollPane()) tabbedGroup.addMouseListener( object : MouseAdapter() { @@ -221,7 +221,7 @@ public class FiltersSidePanel( regexPanel.removeAll() val regexFiltersContainer = JPanel() - regexFiltersContainer.layout = MigLayout("ins 5, hidemode 3", "[grow, fill]", "[]") + regexFiltersContainer.layout = MigLayout("ins 5", "[grow, fill]", "[]") regexFiltersContainer.border = BorderFactory.createEmptyBorder(0, 0, 0, 0) regexPanel.add(regexFiltersContainer, BorderLayout.CENTER) @@ -258,7 +258,7 @@ public class FiltersSidePanel( private fun JPanel.addRegexFilterPanel(filter: RegexFilter) { val filterStore = proxyService.filterSetStore.getActive() val regexFilterPanel = RegexFilterPanel(filterStore, filter) - add(regexFilterPanel, "wrap") + add(regexFilterPanel, "wrap", 0) regexPanel.revalidate() }