From: Niki Roo Date: Sat, 2 May 2020 11:16:34 +0000 (+0200) Subject: popup: fix undecorated X-Git-Tag: fanfix-swing-1.1.0~7 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=b01186b0fb9ebfa251593a2eacb8d60e4a3fb632;p=fanfix-swing.git popup: fix undecorated --- diff --git a/src/be/nikiroo/fanfix_swing/gui/PropertiesFrame.java b/src/be/nikiroo/fanfix_swing/gui/PropertiesFrame.java index bca3ecfa..f741d69c 100644 --- a/src/be/nikiroo/fanfix_swing/gui/PropertiesFrame.java +++ b/src/be/nikiroo/fanfix_swing/gui/PropertiesFrame.java @@ -40,8 +40,8 @@ public class PropertiesFrame extends JDialog { setLayout(new BorderLayout()); add(desc, BorderLayout.NORTH); - this.setUndecorated(undecorated); this.setSize(600, desc.getHeight() + 0); + this.setUndecorated(undecorated); } @Override