mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibGUI: Make GUI::ScrollBar inherit from AbstractSlider
This commit is contained in:
parent
cb67264f61
commit
1215d2a642
6 changed files with 33 additions and 89 deletions
|
@ -459,7 +459,7 @@ void TerminalWidget::relayout(const Gfx::IntSize& size)
|
|||
size.height() - frame_thickness() * 2,
|
||||
};
|
||||
m_scrollbar->set_relative_rect(scrollbar_rect);
|
||||
m_scrollbar->set_page(new_rows);
|
||||
m_scrollbar->set_page_step(new_rows);
|
||||
}
|
||||
|
||||
Gfx::IntSize TerminalWidget::compute_base_size() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue