mirror of
https://github.com/edubart/otclient.git
synced 2025-11-07 13:56:22 +01:00
OMG the chat is finally scrolling!
* implement UIScrollArea * rework console to allow scrolling * many core ui changes in the way.. so maybe we will have new bugs * fix in UIScrollBar
This commit is contained in:
@@ -67,8 +67,8 @@ void UIGridLayout::internalUpdate()
|
||||
UIWidgetPtr parentWidget = getParentWidget();
|
||||
UIWidgetList widgets = parentWidget->getChildren();
|
||||
|
||||
Rect childrenRect = parentWidget->getChildrenRect();
|
||||
Point topLeft = childrenRect.topLeft();
|
||||
Rect clippingRect = parentWidget->getClippingRect();
|
||||
Point topLeft = clippingRect.topLeft();
|
||||
|
||||
int index = 0;
|
||||
for(const UIWidgetPtr& widget : widgets) {
|
||||
|
||||
Reference in New Issue
Block a user