Readme Fenster zu klein

Bug #1070085 reported by CS2001
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Fix Committed
Low
Marcus

Bug Description

(stable 0.8)
Vermutlich ein sehr unwichtiger Bug, aber der Vollständigkeit halber:

Wenn man die Readme Datei anzeigen lässt, ist das Fenster zu klein, der Text geht über den Rand hinaus.

Lösung dazu:
in iwTextfile.cpp wird nur die Breite der ersten Zeile berechnet, der Bug ließe sich lösen, indem die größte Breite innerhalb der Textdatei berechnet wird.

Weiterhin:
Sonderzeichen werden nicht korrekt dargestellt:
funktionieren: ö ü
nicht funktionieren: ä Ä Ü Ö ß

Tags: 0.8
Revision history for this message
CS2001 (cs2001) wrote :
Spike (fvv1)
Changed in s25rttr:
status: New → Confirmed
importance: Undecided → Low
tags: added: v0.8
Revision history for this message
nevik (hai-kataker) wrote :

Fixed this by getting the length of every line and finding the maximum width.
This does not actually cause that much more work, since every line was already retrieved singly and added to the window's multi-line control.

This is a diff against the latest bzr rev. A patch in unified format will follow in a second, and a bzr commit to a branch of my own too.

Revision history for this message
nevik (hai-kataker) wrote :

Here is the patch in unified diff format.
Will post the bzr branch url once the upload is done.

Revision history for this message
nevik (hai-kataker) wrote :

And here is the bzr branch: https://code.launchpad.net/~hai-kataker/+junk/s25rttr
The latest revision is exactly that patch.

Spike (fvv1)
tags: added: 0.8
removed: v0.8
Revision history for this message
Marcus (marcus) wrote :

Fixed by nevik in r9101.

Changed in s25rttr:
assignee: nobody → Marcus (marcus)
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.