mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Fixes to horizontal scrollarea, improve charlist flexibility
This commit is contained in:
@@ -130,7 +130,7 @@ void UIWidget::parseBaseStyle(const OTMLNodePtr& styleNode)
|
||||
setBorderWidth(stdext::safe_cast<int>(split[0]));
|
||||
setBorderColor(stdext::safe_cast<Color>(split[1]));
|
||||
} else
|
||||
throw OTMLException(node, "border param must have its width followed by its color");
|
||||
throw OTMLException(node, "border param must have its width followed by its color");
|
||||
}
|
||||
else if(node->tag() == "border-width")
|
||||
setBorderWidth(node->value<int>());
|
||||
|
Reference in New Issue
Block a user