mirror of
https://github.com/edubart/otclient.git
synced 2025-11-07 13:56:22 +01:00
make styles closer to CSS syntax
This commit is contained in:
@@ -36,7 +36,7 @@ void UIVerticalLayout::applyStyle(const OTMLNodePtr& styleNode)
|
||||
UILayout::applyStyle(styleNode);
|
||||
|
||||
for(const OTMLNodePtr& node : styleNode->children()) {
|
||||
if(node->tag() == "align bottom")
|
||||
if(node->tag() == "align-bottom")
|
||||
m_alignBottom = node->value<bool>();
|
||||
else if(node->tag() == "padding")
|
||||
m_padding = node->value<int>();
|
||||
|
||||
Reference in New Issue
Block a user