[fix][Resolves #378] Component Preset Dialog has an appropriately sized search bar
This commit is contained in:
parent
28bdfac550
commit
786ca55c45
@ -106,7 +106,7 @@ public class ComponentPresetChooserDialog extends JDialog {
|
|||||||
sub.add(filterLabel, "gapright para");
|
sub.add(filterLabel, "gapright para");
|
||||||
|
|
||||||
filterText = new JTextField();
|
filterText = new JTextField();
|
||||||
sub.add(filterText, "growx");
|
sub.add(filterText, "width 50:320, growx");
|
||||||
filterText.getDocument().addDocumentListener(new DocumentListener() {
|
filterText.getDocument().addDocumentListener(new DocumentListener() {
|
||||||
@Override
|
@Override
|
||||||
public void changedUpdate(DocumentEvent e) {
|
public void changedUpdate(DocumentEvent e) {
|
||||||
@ -174,7 +174,7 @@ public class ComponentPresetChooserDialog extends JDialog {
|
|||||||
private JPanel getFilterCheckboxes() {
|
private JPanel getFilterCheckboxes() {
|
||||||
SymmetricComponent sc;
|
SymmetricComponent sc;
|
||||||
|
|
||||||
JPanel panel = new JPanel(new MigLayout("fill, ins 0"));
|
JPanel panel = new JPanel(new MigLayout("ins 0"));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add show all compatible check box.
|
* Add show all compatible check box.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user