mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
Revert "Profiler: Configure the TimelineContainer to be shrink to fit"
This reverts commit cfef3040fb
.
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.
This commit is contained in:
parent
01248d28ef
commit
06468d9794
1 changed files with 1 additions and 3 deletions
|
@ -6,13 +6,12 @@
|
|||
|
||||
#include "TimelineContainer.h"
|
||||
#include "TimelineView.h"
|
||||
#include <LibGUI/BoxLayout.h>
|
||||
#include <LibGUI/Layout.h>
|
||||
|
||||
namespace Profiler {
|
||||
|
||||
TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView& timeline_view)
|
||||
{
|
||||
set_layout<GUI::HorizontalBoxLayout>();
|
||||
set_should_hide_unnecessary_scrollbars(true);
|
||||
m_header_container = header_container;
|
||||
m_timeline_view = timeline_view;
|
||||
|
@ -22,7 +21,6 @@ TimelineContainer::TimelineContainer(GUI::Widget& header_container, TimelineView
|
|||
timeline_view.move_to_back();
|
||||
update_widget_sizes();
|
||||
update_widget_positions();
|
||||
set_shrink_to_fit(true);
|
||||
|
||||
m_timeline_view->on_scale_change = [this] {
|
||||
update_widget_positions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue