summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/TimelineContainer.cpp
AgeCommit message (Collapse)Author
2021-07-19Revert "Profiler: Configure the TimelineContainer to be shrink to fit"Brian Gianforcaro
This reverts commit cfef3040fb00127552158f233ebe4705bf242c25. It looks like although this does improve things, it also degrades the experience and messes with the usability, especially for large amounts of processes. Need to come back to this with a more holistic fix.
2021-07-17Profiler: Configure the TimelineContainer to be shrink to fitBrian Gianforcaro
Today the profile viewer timeline view has a static size, which is computed as half the height of the window given it has two root widgets. Instead the timeline view should shrink to only consume the size that each process timeline consumes.
2021-05-25Profiler: Hide timeline scrollbars if we don't need them :^)Andreas Kling
2021-05-22Profiler: Allow scaling the timeline with Ctrl+MouseWheel :^)Andreas Kling
2021-05-22Profiler: Allow scrolling through full range of profile timelineAndreas Kling
We were not taking the width of the process headers into account when computing the scrollable content size of the timeline. Fix this by passing the header width to AbstractScrollableWidget's set_size_occupied_by_fixed_elements().
2021-05-08Profiler: Fix scrolling behaviorGunnar Beutner
When resizing the timeline view the timelines should scroll to the bottom when the resize operation reveals space that is beyond the view.
2021-05-08Profiler: Fix timeline wrong initial horizontal positionCarlos César Neves Enumo
Just after launching the app, when hovering the timeline, it would start at Time: 2000ms. It fixes itself after scrolling.
2021-05-06Profiler: Add fixed track headers to the timeline viewAndreas Kling
The architecture here is a little bit convoluted. I ended up making a new container widget (TimelineContainer) that works similarly to GUI::ScrollableContainerWidget but has two subwidgets (a fixed header that only scrolls vertically, and the timeline view that scrolls on both axes.) It would be nice to generalize this mechanism eventually and move it back into LibGUI, but for now let's go with a special widget for Profiler so we can continue iterating on the GUI. :^)