URL:
  <http://gna.org/patch/?3822>

                 Summary: Fixed bug #17220: Cursor in gui2 text box now
behaves appropriately after text box overflow occurs
                 Project: Battle for Wesnoth
            Submitted by: nurupo
            Submitted on: Вск 31 Мар 2013 18:27:01
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In gui2 text box, on Windows, when overflow occurs, cursor moves to the left
from its supposed position (see gif attached).

The problem was found in _ttext::get_cursor_position()_ function —  after
overflow occurred, _pango_layout_get_cursor_pos()_ call returned values saying
that the cursor has moved to a new line, when the text box is single-lined.

Fixed by explicitly setting text box to be single-lined.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Вск 31 Мар 2013 18:27:01  Name: wesnoth17220bug.gif  Size: 545kB  
By: nurupo

<http://gna.org/patch/download.php?file_id=17628>
-------------------------------------------------------
Date: Вск 31 Мар 2013 18:27:01  Name: bugfix17220.patch  Size: 2kB   By:
nurupo

<http://gna.org/patch/download.php?file_id=17629>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3822>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to