Skip to content

Commit

Permalink
Fix preview panel size in free-size layouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinevez committed May 21, 2024
1 parent 26b3ffe commit aba2c74
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import static fiji.plugin.trackmate.gui.Icons.CANCEL_ICON;
import static fiji.plugin.trackmate.gui.Icons.PREVIEW_ICON;

import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
Expand Down Expand Up @@ -108,5 +109,7 @@ public DetectionPreviewPanel( final DoubleConsumer thresholdUpdater, final Strin
gbcBtnPreview.gridx = 1;
gbcBtnPreview.gridy = 1;
this.add( btnPanel, gbcBtnPreview );

setPreferredSize( new Dimension( 240, 100 ) );
}
}

0 comments on commit aba2c74

Please sign in to comment.