mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibGUI: Make GUI::ScrollBar inherit from AbstractSlider
This commit is contained in:
parent
cb67264f61
commit
1215d2a642
Notes:
sideshowbarker
2024-07-19 00:22:38 +09:00
Author: https://github.com/awesomekling
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