Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#3011 closed defect (fixed)

GUI: Clicking on editable text to set caret position

Reported by: eriktorbjorn Owned by: eriktorbjorn
Priority: normal Component: GUI
Version: Keywords:
Cc: Game:

Description

Latest SVN snapshot.

When clicking on an editable text widget, the caret should be moved to approximately the clicked position. This generally works, but for some reason it only works well when clicking on the early part of the string.

For instance, I have a game entry for "Touche: The Adventures of the Fifth Musketeer (Demo)". If I open the "Edit Game" dialog and click on the left edge of the "D" in "Demo", the caret is positioned between the "e" and "r" in "Musketeer".

Ticket imported from: #1640622. Ticket imported from: bugs/3011.

Change History (3)

comment:1 by eriktorbjorn, 18 years ago

Should be fixed now. Apparently it was using the wrong font to calculate the width.

comment:2 by eriktorbjorn, 18 years ago

Owner: set to eriktorbjorn
Resolution: fixed
Status: newclosed

comment:3 by digitall, 6 years ago

Component: --Unset--GUI
Note: See TracTickets for help on using tickets.