Closed Bug 385717 Opened 17 years ago Closed 17 years ago

Preview image in SetDesktopBackground is not centered

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: alfredkayser, Unassigned)

References

()

Details

Attachments

(1 obsolete file)

Spinoff from bug 585503:
Preview image in SetDesktopBackground is not centered when the image is larger than desktop size and position=center.

Note, this also applies to the FF2.0 branch.
Attachment #269637 - Flags: review?(mano)
See also bug 385844 where I'm using <canvas>. If drawImage() takes negative offsets, that could be used here as well.
Yes, that could be done. However for the 'center' scenario, we can just use a normal 'image' widget and just set negative margins on that, instead of creating a canvas object.
canvas is actually a bit easier, as you don't need _createImage().
Depends on: 386163
Fixed by the patches from bug 385844 and bug 385503.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Attachment #269637 - Attachment is obsolete: true
Attachment #269637 - Flags: review?(mano)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: