mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 18:47:44 +00:00
LibVT: Set scrollbar page size
This commit is contained in:
parent
fc568ea13a
commit
df54229954
1 changed files with 1 additions and 0 deletions
|
@ -432,6 +432,7 @@ void TerminalWidget::relayout(const Gfx::IntSize& size)
|
||||||
size.height() - frame_thickness() * 2,
|
size.height() - frame_thickness() * 2,
|
||||||
};
|
};
|
||||||
m_scrollbar->set_relative_rect(scrollbar_rect);
|
m_scrollbar->set_relative_rect(scrollbar_rect);
|
||||||
|
m_scrollbar->set_page(new_rows);
|
||||||
}
|
}
|
||||||
|
|
||||||
Gfx::IntSize TerminalWidget::compute_base_size() const
|
Gfx::IntSize TerminalWidget::compute_base_size() const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue