Merge lp://staging/~cruzjbishop/loggerhead/fix-310255 into lp://staging/loggerhead

Proposed by Cruz Bishop
Status: Merged
Approved by: Colin Watson
Approved revision: 476
Merged at revision: 484
Proposed branch: lp://staging/~cruzjbishop/loggerhead/fix-310255
Merge into: lp://staging/loggerhead
Diff against target: 21 lines (+2/-2)
1 file modified
loggerhead/static/css/diff.css (+2/-2)
To merge this branch: bzr merge lp://staging/~cruzjbishop/loggerhead/fix-310255
Reviewer Review Type Date Requested Status
John A Meinel Approve
Review via email: mp+104379@code.staging.launchpad.net

Description of the change

Fix for bug #310255

This merge will increase the width of each line number box by 1%, preventing formatting anomalies when numbers reach six or more digits

Example after this merge: http://i.imgur.com/WnwBl.png

Originally (not in current builds), the output looked as such: https://launchpadlibrarian.net/20618129/screenshot_100%28084%29.png

However, on a Launchpad/Trunk build, this no longer happens; The numbers are more uneven than anything else.

http://i.imgur.com/TZl9F.png

To post a comment you must log in.
Revision history for this message
John A Meinel (jameinel) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/2/2012 2:39 PM, Cruz Bishop wrote:
> Cruz Bishop has proposed merging
> lp:~cruzjbishop/loggerhead/fix-310255 into lp:loggerhead.
>
> Requested reviews: Loggerhead Reviewers (loggerhead-reviewers)
> Related bugs: Bug #310255 in loggerhead: "6 digit line numbers get
> cutoff" https://bugs.launchpad.net/loggerhead/+bug/310255
>
> For more details, see:
> https://code.launchpad.net/~cruzjbishop/loggerhead/fix-310255/+merge/104379
>
> Fix for bug #310255
>
> This merge will increase the width of each line number box by 1%,
> preventing formatting anomalies when numbers reach six or more
> digits
>
> Example after this merge: http://i.imgur.com/WnwBl.png

Do you have an example from before this change?

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+hSw8ACgkQJdeBCYSNAAMTTQCgkEdjelHdpajO60N6mt8R69cG
nV8AoLDOefAZL3hJpPNoBFSzc9AfcDB4
=1nR7
-----END PGP SIGNATURE-----

Revision history for this message
John A Meinel (jameinel) wrote :

This seems ok, but it makes me wonder if there is a better way to force it to have a minimum width based on the entries themselves.

That said, this is probably a reasonable stopgap measure.

review: Approve
Revision history for this message
Cruz Bishop (cruzjbishop) wrote :

I've updated the description to match more recent builds and include some pre-merge screenshots

@jameinel Removing the padding to the left of the line numbers worked to a certain degree, but it still came out uglier than before, so I changed it to this

Revision history for this message
Cruz Bishop (cruzjbishop) wrote :

Sorry, accidentally marked this as merged.

Is there any news on this? Richard/lifeless marked it as fix released, even though it wasn't merged, so I'm assuming that either I overlooked something or somebody else got in first.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches