ABBAPOH / andromeda

Cross-platform file manager, written on Qt.
GNU Lesser General Public License v3.0
14 stars 2 forks source link

Improve the rename file widget #30

Closed jleclanche closed 11 years ago

jleclanche commented 12 years ago

Renaming a file should look a lot better, and only select up to the file extension by default.

ABBAPOH commented 12 years ago

Resolved

jleclanche commented 12 years ago

Try renaming a file with a very long name, such as "index.html?id=9838b7032ea921f4792bec21a24c53c07078636d"; it still looks pretty terrible. Nice job on the extension, though.

ABBAPOH commented 12 years ago

Extension bus too in fact:) I need to integrate QMimeType to determine it correctly. I will try to see what can be done to align line edit properly. Maybe i should use QTextEdit, like KDE does.

ABBAPOH commented 12 years ago

Ok, i made some investigations. QTextEdit should be used instead of QLineEdit. I should pass horizontal alignment flags from option to it. The problem i couldn't solve - how to align text edit vertically. It always aligned at top, while it should be aligned in center.

ABBAPOH commented 11 years ago

Ok, that the best i can do.