Skip to content

Commit

Permalink
Do not require full width for logs view
Browse files Browse the repository at this point in the history
Since now log view calculates required size correctly by itself.
  • Loading branch information
azat committed Apr 1, 2024
1 parent 35d3426 commit c00bcbb
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions src/view/processes_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -953,19 +953,16 @@ impl ProcessesView {
views::LinearLayout::vertical()
.child(views::TextView::new("Logs:").center())
.child(views::DummyView.fixed_height(1))
.child(
views::NamedView::new(
.child(views::NamedView::new(
"query_log",
TextLogView::new(
"query_log",
TextLogView::new(
"query_log",
context_copy,
min_query_start_microseconds,
max_query_end_microseconds,
Some(query_ids),
),
)
.full_width(),
),
context_copy,
min_query_start_microseconds,
max_query_end_microseconds,
Some(query_ids),
),
)),
));
// FIXME: this should be done automatically (maybe due to lots of wrapping it
// does not work)
Expand Down

0 comments on commit c00bcbb

Please sign in to comment.