Widget Fixes

This commit is contained in:
IlyaShurupov 2024-10-18 00:21:57 +03:00 committed by Ilya Shurupov
parent 8c4ba37e59
commit b1ba1c2975
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 {