Closed Bug 1024633 Opened 7 years ago Closed 7 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.
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).
Attachment #8439373 - Flags: review?(pbrosset) → review+
https://hg.mozilla.org/mozilla-central/rev/e290235f6640
Status: ASSIGNED → RESOLVED
Closed: 7 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.