Add a note about minetest.conf in the key change dialog (because it sucks)
authorPerttu Ahola <celeron55@gmail.com>
Sun, 11 Mar 2012 19:32:03 +0000 (21:32 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 11 Mar 2012 19:32:03 +0000 (21:32 +0200)
src/guiKeyChangeMenu.cpp

index 4e04fccf0e1406c0268dcf2fc8bd58908a9e95d3..0c84f8ffa9cb2786ecd0004782b475a19d28f640 100644 (file)
@@ -83,10 +83,10 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize)
        v2s32 topleft(0, 0);
        changeCtype("");
        {
-               core::rect < s32 > rect(0, 0, 125, 20);
+               core::rect < s32 > rect(0, 0, 500, 20);
                rect += topleft + v2s32(25, 3);
                //gui::IGUIStaticText *t =
-               Environment->addStaticText(wgettext("KEYBINDINGS"),
+               Environment->addStaticText(wgettext("KEYBINDINGS (If this menu screws up, see minetest.conf)"),
                                rect, false, true, this, -1);
                //t->setTextAlignment(gui::EGUIA_CENTER, gui::EGUIA_UPPERLEFT);
        }