diff --git a/src/fheroes2/battle/battle_dialogs.cpp b/src/fheroes2/battle/battle_dialogs.cpp index 8e5f5a82dd1..d275a66fe6a 100644 --- a/src/fheroes2/battle/battle_dialogs.cpp +++ b/src/fheroes2/battle/battle_dialogs.cpp @@ -1080,7 +1080,8 @@ bool Battle::DialogBattleSurrender( const HeroBase & hero, uint32_t cost, Kingdo const Text text( str, Font::SMALL ); const fheroes2::Rect rect = btnAccept.area(); - text.Blit( rect.x + ( rect.width - text.w() ) / 2, rect.y - 15 ); + // Since button area includes 3D effect on the left side we need to shift the text by X axis to center it in relation to the button. + text.Blit( rect.x + ( rect.width - text.w() ) / 2 + 2, rect.y - 15 ); }; const int icn = isEvilInterface ? ICN::SURRENDE : ICN::SURRENDR;