1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

gap-less layout

This commit is contained in:
Laserlicht
2025-07-06 00:52:57 +02:00
parent 4aad60523c
commit eecc3ce632
3 changed files with 15 additions and 15 deletions

View File

@@ -27,10 +27,10 @@ StackInfoBasicPanel::StackInfoBasicPanel(const CStack * stack, bool initializeBa
if(initializeBackground)
{
background = std::make_shared<CPicture>(ImagePath::builtin("CCRPOP"));
background = std::make_shared<CPicture>(ImagePath::builtin("CCRPOP"), Rect(1, 1, 76, 286), 1, 1);
background->pos.y += 37;
background->setPlayerColor(stack->getOwner());
background2 = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"));
background2 = std::make_shared<CPicture>(ImagePath::builtin("CHRPOP"), Rect(1, 1, 76, 200), 1, 1);
background2->setPlayerColor(stack->getOwner());
}