Fix custom expression dialog layout

This makes the expression window take up all available space, and not have growing gaps between the buttons and expressions
This commit is contained in:
Sibo Van Gool 2022-01-31 01:02:06 +01:00
parent 528b93afff
commit 51a48931e1

View File

@ -56,7 +56,7 @@ public class CustomExpressionPanel extends JPanel {
//expressionSelectorPanel.add(scroll);
//this.add(expressionSelectorPanel, "spany 1, height 10px, wmin 600lp, grow 100, gapright para");
this.add(scroll, "hmin 200lp, wmin 700lp, grow 100, wrap");
this.add(scroll, "hmin 200lp, wmin 700lp, grow 100, pushy, wrap");
//DescriptionArea desc = new DescriptionArea(trans.get("customExpressionPanel.lbl.UpdateNote")+"\n\n"+trans.get("customExpressionPanel.lbl.CalcNote"), 8, -2f);
//desc.setViewportBorder(BorderFactory.createEmptyBorder());