Closed Bug 1024633 Opened 10 years ago Closed 10 years ago

Add a way of specifying a fixed width or height for canvas graphs

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 33

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file)

Currently, they flex to span across all the available space of the parent container. Sometimes, this may not be desirable.
Blocks: 879008
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8439373 - Flags: review?(pbrosset)
The code changes are simple enough for R+, but one remark though: I think we should probably not be refreshing on window resize when both fixedHeight and fixedWidth are provided (until they are changed).
Blocks: 1025023
Attachment #8439373 - Flags: review?(pbrosset) → review+
https://hg.mozilla.org/mozilla-central/rev/e290235f6640
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 33
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: