Skip to content

Commit 8d417a2

Browse files
committed
adjustments
1 parent a181553 commit 8d417a2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/headers/src/ProjectInfoPopup.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,14 +363,14 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
363363
hostName_label->setID("host-name-label");
364364
hostName_label->ignoreAnchorPointForPosition(false);
365365
hostName_label->setAnchorPoint({ 0, 1 });
366-
hostName_label->setPosition({ 10.f, m_mainLayer->getScaledContentHeight() - 50.f });
366+
hostName_label->setPosition({ 10.f, m_mainLayer->getScaledContentHeight() - 55.f });
367367
hostName_label->setScale(0.25f);
368368

369369
auto hostName = CCLabelBMFont::create(m_avalProject.host.c_str(), "goldFont.fnt");
370370
hostName->setID("host-name");
371371
hostName->ignoreAnchorPointForPosition(false);
372372
hostName->setAnchorPoint({ 0, 1 });
373-
hostName->setPosition({ 10.f, m_mainLayer->getScaledContentHeight() - 70.f });
373+
hostName->setPosition({ 10.f, m_mainLayer->getScaledContentHeight() - 65.f });
374374
hostName->setScale(0.75f);
375375

376376
m_overlayMenu->addChild(hostName_label);
@@ -467,7 +467,7 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
467467
linkedProjMenu->setID("linked-project-menu");
468468
linkedProjMenu->setAnchorPoint({ 1, 1 });
469469
linkedProjMenu->ignoreAnchorPointForPosition(false);
470-
linkedProjMenu->setPosition({ m_mainLayer->getScaledContentWidth() - 25.f, m_mainLayer->getScaledContentHeight() - 50.f });
470+
linkedProjMenu->setPosition({ m_mainLayer->getScaledContentWidth() - 25.f, m_mainLayer->getScaledContentHeight() - 55.f });
471471
linkedProjMenu->setScaledContentSize({ 150.f, 81.f });
472472

473473
m_clippingNode->addChild(linkedProjMenu);
@@ -481,7 +481,7 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
481481
this,
482482
menu_selector(ProjectInfoPopup::infoPopup));
483483
linkedProjInfoBtn->setID("info-button");
484-
linkedProjInfoBtn->setPosition({ linkedProjMenu->getScaledContentWidth() - 5.f, linkedProjMenu->getScaledContentHeight() - 5.f });
484+
linkedProjInfoBtn->setPosition({ linkedProjMenu->getScaledContentWidth() - 6.25f, linkedProjMenu->getScaledContentHeight() - 6.25f });
485485
linkedProjInfoBtn->setZOrder(126);
486486

487487
linkedProjMenu->addChild(linkedProjInfoBtn);
@@ -559,6 +559,7 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
559559
linkedProjThumb->setAnchorPoint({ 0.5, 0.5 });
560560
linkedProjThumb->ignoreAnchorPointForPosition(false);
561561
linkedProjThumb->setPosition({ linkedProjMenu->getScaledContentWidth() / 2.f, linkedProjMenu->getScaledContentHeight() / 2.f });
562+
linkedProjThumb->setScale(0.5f);
562563

563564
linkedProjThumb->setLoadCallback([linkedProjThumb, linkedProjClippingNode](Result<> res) {
564565
if (res.isOk()) {
@@ -633,7 +634,7 @@ ProjectInfoPopup* ProjectInfoPopup::setProject(GJGameLevel* level) {
633634
AVAL_LOG_DEBUG("Creating label for linked project name");
634635
auto linkedProjName = CCLabelBMFont::create(linkedProj.name.c_str(), "goldFont.fnt");
635636
linkedProjName->setID("name");
636-
linkedProjName->setPosition({ linkedProjMenu->getScaledContentWidth() / 2.f, linkedProjShowcase->getScaledContentHeight() - 15.f });
637+
linkedProjName->setPosition({ linkedProjMenu->getScaledContentWidth() / 2.f, linkedProjMenu->getScaledContentHeight() - 20.f });
637638
linkedProjName->setScale(0.625f);
638639

639640
linkedProjMenu->addChild(linkedProjName);

0 commit comments

Comments
 (0)