Wrong alignment when moving from a rightjustified cell to a leftjustified cells with ellipsis button (TStringGrid)
Original Reporter info from Mantis: tintinux
-
Reporter name:
Original Reporter info from Mantis: tintinux
- Reporter name:
Description:
In a StringGrid, moving from a cell in a RightJustified column to a cell in a LeftJustified column with an Ellipsis button, the justification is wrong.
Steps to reproduce:
The attached example have a StringGrid with 4 columns, and options contain at least : goEditing and goAlwaysShowEditor
The first column is left justified and has an ellipsis button
The 2nd and 4th columns are right justified
The 3rd column is right justified without button.
- enter some chars in the first cell, justification is left : OK
- move to the 2nd column, justification is right : OK
- move back to the first column : justification is right : not OK, it should be left as designed.
No problem if we move from the 4th to the 3rd, the issue is when there is an ellipsis button.
Additional information:
Any workaround would be useful !
Mantis conversion info:
- Mantis ID: 31402
- OS: Windows
- OS Build: 7
- Platform: Windows
- Version: 1.6.2
- Fixed in revision: 54172 (#ce7b1286)
- Monitored by: » tintinux (tintinux)
- Target version: 1.6.4