@@ -33,8 +33,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
33
33
// Continuing from guiPasswordChange.cpp
34
34
const int ID_confirmPassword = 262 ;
35
35
const int ID_confirm = 263 ;
36
- const int ID_message = 264 ;
36
+ const int ID_intotext = 264 ;
37
37
const int ID_cancel = 265 ;
38
+ const int ID_message = 266 ;
38
39
39
40
GUIConfirmRegistration::GUIConfirmRegistration (gui::IGUIEnvironment *env,
40
41
gui::IGUIElement *parent, s32 id, IMenuManager *menumgr, Client *client,
@@ -106,15 +107,15 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize)
106
107
107
108
wchar_t *info_text_buf_wide = utf8_to_wide_c (info_text_buf);
108
109
gui::IGUIEditBox *e = new gui::intlGUIEditBox (info_text_buf_wide, true ,
109
- Environment, this , ID_message , rect2, false , true );
110
+ Environment, this , ID_intotext , rect2, false , true );
110
111
delete[] info_text_buf_wide;
111
112
e->drop ();
112
113
e->setMultiLine (true );
113
114
e->setWordWrap (true );
114
115
e->setTextAlignment (gui::EGUIA_UPPERLEFT, gui::EGUIA_CENTER);
115
116
}
116
117
117
- ypos += 210 * s;
118
+ ypos += 200 * s;
118
119
{
119
120
core::rect<s32> rect2 (0 , 0 , 540 * s, 30 * s);
120
121
rect2 += topleft_client + v2s32 (30 * s, ypos);
@@ -124,7 +125,7 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize)
124
125
Environment->setFocus (e);
125
126
}
126
127
127
- ypos += 60 * s;
128
+ ypos += 50 * s;
128
129
{
129
130
core::rect<s32> rect2 (0 , 0 , 230 * s, 35 * s);
130
131
rect2 = rect2 + v2s32 (size.X / 2 - 220 * s, ypos);
@@ -140,8 +141,8 @@ void GUIConfirmRegistration::regenerateGui(v2u32 screensize)
140
141
delete[] text;
141
142
}
142
143
{
143
- core::rect<s32> rect2 (0 , 0 , 200 * s, 20 * s);
144
- rect2 += topleft_client + v2s32 (30 * s, ypos - 40 * s);
144
+ core::rect<s32> rect2 (0 , 0 , 500 * s, 40 * s);
145
+ rect2 += topleft_client + v2s32 (30 * s, ypos + 40 * s);
145
146
text = wgettext (" Passwords do not match!" );
146
147
IGUIElement *e = Environment->addStaticText (
147
148
text, rect2, false , true , this , ID_message);
0 commit comments