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,