mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGUI: Add min_content_size debug property to AbstractScrollableWidget
This helps with debugging subclasses of AbstractScrollableWidget
This commit is contained in:
@@ -13,6 +13,8 @@ namespace GUI {
|
||||
|
||||
AbstractScrollableWidget::AbstractScrollableWidget()
|
||||
{
|
||||
REGISTER_READONLY_SIZE_PROPERTY("min_content_size", min_content_size);
|
||||
|
||||
m_vertical_scrollbar = add<AbstractScrollableWidgetScrollbar>(*this, Orientation::Vertical);
|
||||
m_vertical_scrollbar->set_step(4);
|
||||
m_vertical_scrollbar->on_change = [this](int) {
|
||||
|
||||
Reference in New Issue
Block a user