Widget Fixes

This commit is contained in:
IlyaShurupov 2024-10-18 00:21:57 +03:00
parent 047d67c4fa
commit cfb56e184c
7 changed files with 75 additions and 42 deletions

View file

@ -16,7 +16,7 @@ void ScrollableLayout::updateLayout(bool vertical) {
if (!scroller || !content) return;
updateWidgetRects(getArea(), content, scroller);
updateWidgetRects(getArea().relative(), content, scroller);
}
void ScrollableLayout::updateWidgetRects(const RectF& area, Widget* content, ScrollableBarWidget* scroller) const {