From 7d94812ffbd0ff94fea84668b368b5cd7fe5a8ce Mon Sep 17 00:00:00 2001 From: Leon Montag <leon.montag@informatik.hs-fulda.de> Date: Fri, 30 Dec 2022 01:04:08 +0100 Subject: [PATCH] Added minimum gridwith and height with margin --- src/main/java/Gui/gui.java | 4 ++++ target/MiniGameProject-1.0-SNAPSHOT.jar | Bin 3495 -> 3609 bytes target/maven-archiver/pom.properties | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/Gui/gui.java b/src/main/java/Gui/gui.java index 0fd8a27..688597c 100644 --- a/src/main/java/Gui/gui.java +++ b/src/main/java/Gui/gui.java @@ -3,6 +3,7 @@ package Gui; import java.awt.Font; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; +import java.awt.Insets; import javax.swing.JButton; import javax.swing.JFrame; @@ -34,6 +35,9 @@ public class gui { GridBagConstraints gbc = new GridBagConstraints(); gbc.gridwidth = GridBagConstraints.REMAINDER; gbc.fill = GridBagConstraints.HORIZONTAL; + gbc.ipadx = 300; + gbc.ipady = 100; + gbc.insets = new Insets(20, 0, 0, 0); Label = new JLabel("MiniGames"); Label.setHorizontalAlignment(JLabel.CENTER); Label.setFont(new Font("Serif", Font.BOLD, 28)); diff --git a/target/MiniGameProject-1.0-SNAPSHOT.jar b/target/MiniGameProject-1.0-SNAPSHOT.jar index 20a9fd3fe92d8215d6b5d98f17514d27d430f88d..a4420dfac69f212a70095484fa3d77ec73d05b35 100644 GIT binary patch delta 1618 zcmY+EdpHw%7{@o44P&{~mdtGuxwNs9R;am~<rX6;#a!kxw;^(NM&(RMY8hihF(SEa zM~_^lEVm<d+&UcPmO?y|b$L4BY|lA$9`En@y_e_xzR&OX{`0BQU?UVg2+}eN0EtoM zt}E(G#mimC6iJEmXF7DMTq&^=^6Q>182~_94ggRRtDF+UQDKSU2S`zYR4R=~@bxF| z+=K#EXUlQ@wWgH)G+?>Xs1b`lYMa4rzv-gvObfVShfQvQ$3!RlQD}lQ_uV*H>g$F& z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+C3sjdqGgZlzCo|WwahVeqN6Wl)#ylOz+)ESU*_RTh z=G4lxi5JGr*bd0By3QkN?~k$e=9v0Dqff5mU#}ez&Rm#8MN#No`)b{vKzkT)p_T10 z62Xt4M-`YXt9EHImZB8ecHfwe3tU!HUV!AxOOS^(&PX-ZUp~I+*<3AYqfmyz&;AAv zSV6x^(HJ{#mUI<toVvvROrhN|&R015B{<PrULj;|(f)YRo$^z&sMWY-efglb&L2!0 zQi3-iKd2-k4oF6XrJ4~b7qAFP02ZnzPX5q6qEy3z_CsXEh)U+fV}LkV1oS?xt`>*! z0H$HCVx1)%FTxoR1Gg4;58)WO{{syW!VNUUBL|^&r!E)-dMJvYEEMw)1S+AD0BeMb z*iA&JL29G{8>k|Xj(~|LxuS_c8lb|o^j)055G9FU6wUYi>Hc{d{caRM8ynl8A_EpM yM(RSs#3dfMj+EE@^@-CWEkzWTzdhnNEXj(5R$E-0q@=}jm}vJyKp^gq`~Cw><9u5H diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index 667ca4c..1de26ae 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Fri Dec 30 00:59:01 CET 2022 +#Fri Dec 30 01:03:37 CET 2022 groupId=MiniGameProject artifactId=MiniGameProject version=1.0-SNAPSHOT