Closed
Bug 385717
Opened 17 years ago
Closed 17 years ago
Preview image in SetDesktopBackground is not centered
Categories
(Firefox :: General, defect)
Firefox
General
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)
Comment 1•17 years ago
|
||
See also bug 385844 where I'm using <canvas>. If drawImage() takes negative offsets, that could be used here as well.
Reporter | ||
Comment 2•17 years ago
|
||
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.
Comment 3•17 years ago
|
||
canvas is actually a bit easier, as you don't need _createImage().
Reporter | ||
Comment 4•17 years ago
|
||
Fixed by the patches from bug 385844 and bug 385503.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
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.
Description
•