Update of bug #16512 (project wormux):

                Severity:           4 - Important => 3 - Normal             
                  Status:                    None => In Progress            
                 Summary: The head commander's name field maximum length is
too high => TextBox does not support that takes more place than available for
display

    _______________________________________________________

Follow-up Comment #2:

I have change the summary of the bug.

The problem is in fact in the class TextBox. See code of
src/gui/text_box.cpp:81 :

  if (font->GetWidth(_new_txt) < GetSizeX() - 5) {
    Label::SetText(_new_txt);
  } else {
    cursor_pos = GetText().size();
  }

Of course, we can remove the if. The problem is then to display it correctly.



    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16512>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to