3 Commits

Author SHA1 Message Date
Johannes Schmelz
249110f83c Merge remote-tracking branch 'origin/gui' 2024-12-09 14:13:44 +01:00
Johannes Schmelz
a686671c15 Merge branch 'reworkedGui' into 'main'
refactor Worlds and client States

See merge request progproj/gruppen-ht24/Gruppe-02!18
2024-12-08 01:18:35 +00:00
Johannes Schmelz
e102d22f14 refactor Worlds and client States 2024-12-08 01:18:35 +00:00
3 changed files with 3 additions and 2 deletions

View File

@@ -325,6 +325,7 @@ public class LobbyMenu extends Dialog {
figure = selector.getSelectedItem();
break;
}
System.out.println("FIGUR:::::"+figure);
}
/**

View File

@@ -83,14 +83,14 @@ public class EventCardPopup extends Dialog {
eventCardContainer.setLocalTranslation(
(app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x) / 2,
(app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y) / 2,
8
10
);
// Zentriere das Popup
backgroundContainer.setLocalTranslation(
(app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x - padding) / 2,
(app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y+ padding) / 2,
7
9
);
app.getGuiNode().attachChild(eventCardContainer);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 105 KiB