From a11b0ca2f17cdf560bffb91ebb6681e6b05a6146 Mon Sep 17 00:00:00 2001 From: Dominic Masters Date: Sun, 12 Sep 2021 22:56:07 -0700 Subject: [PATCH] Just messing with alignment of UI a bit. --- src/game/poker/ui/pokerplayerui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/poker/ui/pokerplayerui.c b/src/game/poker/ui/pokerplayerui.c index c55751db..ab78e978 100644 --- a/src/game/poker/ui/pokerplayerui.c +++ b/src/game/poker/ui/pokerplayerui.c @@ -21,7 +21,7 @@ void pokerPlayerUiInit(pokerplayerui_t *ui) { // Grid gridInit(&ui->grid); - gridAddBreakpoint(&ui->grid, -1, 2, 2, 0, 0); + gridAddBreakpoint(&ui->grid, -1, 2, 2, POKER_PLAYER_UI_PADDING, 0); // Player UI Image child = gridAddChild(&ui->grid); @@ -97,7 +97,7 @@ void pokerPlayerUiRender( align = alignmentGet( ALIGN_POS_END | ALIGN_SIZE_ORIGINAL, ALIGN_POS_START | ALIGN_SIZE_ORIGINAL, engine->render.width, engine->render.height, - 300, POKER_PLAYER_UI_IMAGE_SIZE, -1, -1 + POKER_PLAYER_UI_IMAGE_SIZE*2, POKER_PLAYER_UI_IMAGE_SIZE, -1, -1 ); gridSetSize( &ui->grid, engine->render.width, engine->render.height,