Improve tooltip text and center tooltips

This commit is contained in:
Flakebi
2015-03-01 22:30:33 +01:00
parent 6805ead6e6
commit f9919c462f
2 changed files with 2 additions and 2 deletions

View File

@@ -1849,7 +1849,7 @@ void Skin::drawTooltip(Widget* widget, bool atMouse)
if (atMouse)
{
pos = irr_driver->getDevice()->getCursorControl()->getPosition()
+ core::position2di(15, 15);
+ core::position2di(10 - size.Width / 2, 20);
}
core::recti r(pos, size);

View File

@@ -151,7 +151,7 @@ void OptionsScreenUI::init()
CheckBoxWidget* difficulty = getWidget<CheckBoxWidget>("perPlayerDifficulty");
assert( difficulty != NULL );
difficulty->setState( UserConfigParams::m_per_player_difficulty );
difficulty->setTooltip(_("Handicap stronger players in the kart selection"));
difficulty->setTooltip(_("Players can select handicapped (more difficult) profiles on the kart selection screen"));
CheckBoxWidget* show_login = getWidget<CheckBoxWidget>("show-login");
assert( show_login!= NULL );